mirror of
https://github.com/randy408/libspng
synced 2025-03-28 21:13:20 +00:00
read_scanline_bytes(): cleanup
This commit is contained in:
parent
3a8a2314ee
commit
05781a38d4
@ -1382,7 +1382,7 @@ static int read_scanline_bytes(spng_ctx *ctx, unsigned char *dest, size_t len)
|
||||
|
||||
while(zstream->avail_out != 0)
|
||||
{
|
||||
ret = inflate(&ctx->zstream, 0);
|
||||
ret = inflate(zstream, Z_NO_FLUSH);
|
||||
|
||||
if(ret == Z_OK) continue;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user