changeset 36767:18428293fb7f

spudec: fix spudec_apply_palette_crop return value.
author reimar
date Sun, 16 Feb 2014 16:30:01 +0000
parents aadf2020f6f0
children fd1feb8ae5fd
files sub/spudec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sub/spudec.c	Sun Feb 16 16:30:00 2014 +0000
+++ b/sub/spudec.c	Sun Feb 16 16:30:01 2014 +0000
@@ -319,7 +319,7 @@
   this->scaled_frame_width = 0;
   this->scaled_frame_height = 0;
   this->palette_crop_cache.valid = 0;
-  return 1;
+  return ret;
 }
 
 int spudec_apply_palette_crop(void *this, uint32_t palette,