From d32550665a38998ddecac1be32eabfb8b39c56c8 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 13 Mar 2015 18:55:18 +0100 Subject: [PATCH] Cleanup png_reverse_filter_adam7 --- libretro-common/formats/png/rpng_decode_common.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/libretro-common/formats/png/rpng_decode_common.h b/libretro-common/formats/png/rpng_decode_common.h index 2afc582ddd..4d1babcaf0 100644 --- a/libretro-common/formats/png/rpng_decode_common.h +++ b/libretro-common/formats/png/rpng_decode_common.h @@ -442,10 +442,7 @@ static int png_reverse_filter_adam7(uint32_t *data, ret = png_reverse_filter_init(ihdr, pngp->inflate_buf, pngp, palette); if (ret == 1) - { - ret = 0; goto cont; - } if (ret == -1) { ret = -1;