diff options
| author | Simon Tatham <anakin@pobox.com> | 2007-02-13 19:23:47 +0000 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2007-02-13 19:23:47 +0000 |
| commit | d324fe8cc1372360f49cfcfd34261cacc886d79c (patch) | |
| tree | ba97d4affdcfcfadacb85198a0f0e53324888448 /halibut.h | |
| parent | 3efa13587b73dd8a64ca8bdc149e8ff9b97376e9 (diff) | |
| download | halibut-d324fe8cc1372360f49cfcfd34261cacc886d79c.zip halibut-d324fe8cc1372360f49cfcfd34261cacc886d79c.tar.gz halibut-d324fe8cc1372360f49cfcfd34261cacc886d79c.tar.bz2 halibut-d324fe8cc1372360f49cfcfd34261cacc886d79c.tar.xz | |
When building the static Huffman tables, it's vital to include the
two unused entries at the end of the lit/len table (286 and 287),
because without them all the 9-bit codes are off by four. I can only
assume I hadn't noticed this before because no test file I've
compressed had both (a) contained byte values >= 0x90 and (b)
required a static block.
[originally from svn r7279]
Diffstat (limited to 'halibut.h')
0 files changed, 0 insertions, 0 deletions