From 674a1c7cc595d9f49638c416250f94ecc27fd733 Mon Sep 17 00:00:00 2001 From: Petri Hintukainen Date: Mon, 28 May 2012 11:08:00 +0300 Subject: Fixed U-plane conversion (YUVJ444P -> YUV420) --- src/combined/ffmpeg/ff_video_decoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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;} -- cgit v1.2.3