mirror of https://github.com/madler/zlib
One more correction for deflateUsed() bits in stored case.
This commit is contained in:
parent
884e0c0809
commit
3adaa095a7
|
@ -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. */
|
/* We've done all we can with the available input and output. */
|
||||||
|
if (last)
|
||||||
|
s->bi_used = 8;
|
||||||
return last ? finish_started : need_more;
|
return last ? finish_started : need_more;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue