summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPetri Hintukainen <phintuka@users.sourceforge.net>2012-05-28 11:08:00 +0300
committerPetri Hintukainen <phintuka@users.sourceforge.net>2012-05-28 11:08:00 +0300
commit674a1c7cc595d9f49638c416250f94ecc27fd733 (patch)
tree1b5c2836a3981f64087f3ddb5398037038d0ee29 /src
parentf70101339ec4ec3d203822fe3d1a92d86e007627 (diff)
downloadxine-lib-674a1c7cc595d9f49638c416250f94ecc27fd733.tar.gz
xine-lib-674a1c7cc595d9f49638c416250f94ecc27fd733.tar.bz2
Fixed U-plane conversion (YUVJ444P -> YUV420)
Diffstat (limited to 'src')
-rw-r--r--src/combined/ffmpeg/ff_video_decoder.c2
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;}