From 7859868ffcfe2e97e4220709366f1e8c67d867dd Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 25 May 2016 15:24:18 +0200 Subject: [PATCH] (RPNG) Dehardcode return values --- libretro-common/formats/png/rpng.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libretro-common/formats/png/rpng.c b/libretro-common/formats/png/rpng.c index 20fb1f687c..87e0887566 100644 --- a/libretro-common/formats/png/rpng.c +++ b/libretro-common/formats/png/rpng.c @@ -964,7 +964,7 @@ int rpng_process_image(rpng_t *rpng, goto error; rpng->process = process; - return 0; + return IMAGE_PROCESS_NEXT; } if (!rpng->process->inflate_initialized) @@ -972,7 +972,7 @@ int rpng_process_image(rpng_t *rpng, if (rpng_load_image_argb_process_inflate_init(rpng, data, width, height) == -1) goto error; - return 0; + return IMAGE_PROCESS_NEXT; } return png_reverse_filter_iterate(rpng, data);