mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 18:40:09 +00:00
png_reverse_filter_wrapper - cleanup
This commit is contained in:
parent
b08176ae00
commit
0227445f6c
@ -272,12 +272,9 @@ static int png_reverse_filter_wrapper(uint32_t *data, const struct png_ihdr *ihd
|
||||
const uint32_t *palette)
|
||||
{
|
||||
unsigned i, filter;
|
||||
bool cont;
|
||||
|
||||
begin:
|
||||
cont = pngp->h < ihdr->height;
|
||||
|
||||
if (!cont)
|
||||
if (!(pngp->h < ihdr->height))
|
||||
{
|
||||
png_reverse_filter_deinit(pngp);
|
||||
return 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user