zlib 1.3.1.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4787 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2024-01-23 02:14:27 +00:00
parent ad2b49b838
commit 0db4bb06c9
72 changed files with 4089 additions and 430 deletions

2
deps/zlib/inflate.c vendored
View File

@@ -1387,7 +1387,7 @@ int ZEXPORT inflateSync(z_streamp strm) {
/* if first time, start search in bit buffer */
if (state->mode != SYNC) {
state->mode = SYNC;
state->hold <<= state->bits & 7;
state->hold >>= state->bits & 7;
state->bits -= state->bits & 7;
len = 0;
while (state->bits >= 8) {