Fix compression of large repetitions
* src/misc/intvcomp.cc (stream_compression_base::run): Limit repeatitions to 40, not 42. (stream_decompression_base::refill): Refill the end of the stream with 0. (stream_decompression_base::look_n_bits): Add assertion. * src/tgbatest/intvcomp.cc: Add a new test case.
This commit is contained in:
parent
1b447c3676
commit
445a785e10
3 changed files with 29 additions and 5 deletions
11
ChangeLog
11
ChangeLog
|
|
@ -1,3 +1,14 @@
|
|||
2011-04-13 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||
|
||||
Fix compression of large repetitions
|
||||
|
||||
* src/misc/intvcomp.cc (stream_compression_base::run): Limit
|
||||
repeatitions to 40, not 42.
|
||||
(stream_decompression_base::refill): Refill the end of the stream
|
||||
with 0.
|
||||
(stream_decompression_base::look_n_bits): Add assertion.
|
||||
* src/tgbatest/intvcomp.cc: Add a new test case.
|
||||
|
||||
2011-04-12 Alexandre Duret-Lutz <adl@lrde.epita.fr>
|
||||
|
||||
More interfaces to the int array compression routines.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue