1
0
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:
twinaphex 2015-02-26 20:18:14 +01:00
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;