Mercurial > mplayer.hg
comparison sub/spudec.c @ 36767:18428293fb7f
spudec: fix spudec_apply_palette_crop return value.
author | reimar |
---|---|
date | Sun, 16 Feb 2014 16:30:01 +0000 |
parents | 389d43c448b3 |
children | 6d654ac9201e |
comparison
equal
deleted
inserted
replaced
36766:aadf2020f6f0 | 36767:18428293fb7f |
---|---|
317 out: | 317 out: |
318 // reset scaled image | 318 // reset scaled image |
319 this->scaled_frame_width = 0; | 319 this->scaled_frame_width = 0; |
320 this->scaled_frame_height = 0; | 320 this->scaled_frame_height = 0; |
321 this->palette_crop_cache.valid = 0; | 321 this->palette_crop_cache.valid = 0; |
322 return 1; | 322 return ret; |
323 } | 323 } |
324 | 324 |
325 int spudec_apply_palette_crop(void *this, uint32_t palette, | 325 int spudec_apply_palette_crop(void *this, uint32_t palette, |
326 int sx, int sy, int ex, int ey) | 326 int sx, int sy, int ex, int ey) |
327 { | 327 { |