One more correction for deflateUsed() bits in stored case.

pull/945/merge
Mark Adler 7 months ago
parent 884e0c0809
commit 3adaa095a7
  1. 2
      deflate.c

@ -1809,6 +1809,8 @@ local block_state deflate_stored(deflate_state *s, int flush) {
}
/* We've done all we can with the available input and output. */
if (last)
s->bi_used = 8;
return last ? finish_started : need_more;
}

Loading…
Cancel
Save