# HG changeset patch # User reimar # Date 1392568201 0 # Node ID 18428293fb7f9cad4ff5e443222b4c6fd33c1acc # Parent aadf2020f6f07db6030ece3ce929eaad89bd386a spudec: fix spudec_apply_palette_crop return value. diff -r aadf2020f6f0 -r 18428293fb7f sub/spudec.c --- 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,