mirror of https://github.com/madler/zlib.git
Previously, the bit buffer would hold 1 to 16 bits after "all" of the output is provided after a Z_BLOCK deflate() call. Now at most seven bits remain in the output buffer after Z_BLOCK. flush_pending() now flushes the bit buffer before copying out the byte buffer, in order for it to really flush as much as possible.pull/2/head
parent
8f5eceefe8
commit
0b828b4aa6
3 changed files with 19 additions and 6 deletions
Loading…
Reference in new issue