Skip to content

Commit

Permalink
Add clarifying note for zopfli huffman code fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fhanau committed Jun 1, 2022
1 parent 1582706 commit f920e54
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/zopfli/deflate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ require at least two distance codes. To support these decoders too (but
potentially at the cost of a few bytes), add dummy code lengths of 1.
References to this bug can be found in the changelog of
Zlib 1.2.2 and here: http://www.jonof.id.au/forum/index.php?topic=515.0.
Note that this change has a minimal detrimental effect on the compression
ratio, amounting to 6 bytes across a 6MB PNG test set of 600 files.
d_lengths: the 32 lengths of the distance codes.
*/
Expand Down

0 comments on commit f920e54

Please sign in to comment.