mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-23 11:18:25 +00:00
Fix png_reverse_filter
This commit is contained in:
parent
9eaf62f319
commit
dda9d41d43
@ -108,6 +108,8 @@ static bool png_reverse_filter(uint32_t *data, const struct png_ihdr *ihdr,
|
||||
if (!pngp->prev_scanline || !pngp->decoded_scanline)
|
||||
GOTO_END_ERROR();
|
||||
|
||||
pngp->h = 0;
|
||||
|
||||
for (; pngp->h < ihdr->height;
|
||||
pngp->h++, inflate_buf += pngp->pitch, data += ihdr->width)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user