Skip to content

Commit a4b209f

Browse files
committed
cleanup: use Z_NO_FLUSH instead of 0 for inflate()
1 parent 3c640a0 commit a4b209f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spng/spng.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1277,7 +1277,7 @@ static int spng__inflate_stream(spng_ctx *ctx, char **out, size_t *len, size_t e
12771277

12781278
while(ret != Z_STREAM_END)
12791279
{
1280-
ret = inflate(stream, 0);
1280+
ret = inflate(stream, Z_NO_FLUSH);
12811281

12821282
if(ret == Z_STREAM_END) break;
12831283

0 commit comments

Comments
 (0)