diff options
-rw-r--r-- | src/combined/ffmpeg/ff_video_decoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/combined/ffmpeg/ff_video_decoder.c b/src/combined/ffmpeg/ff_video_decoder.c index 1b588a47b..f7817556f 100644 --- a/src/combined/ffmpeg/ff_video_decoder.c +++ b/src/combined/ffmpeg/ff_video_decoder.c @@ -850,7 +850,7 @@ static void ff_convert_frame(ff_video_decoder_t *this, vo_frame_t *img) { p = sv, q = dv; for (x = img->width / 2; x > 0; x--) *q++ = ctab[*p++]; } else { - p = su, q = sv; + p = su, q = du; for (x = img->width / 2; x > 0; x--) {*q++ = ctab[*p]; p += 2;} p = sv, q = dv; for (x = img->width / 2; x > 0; x--) {*q++ = ctab[*p]; p += 2;} |