[FFmpeg-cvslog] lagarith: fix color plane inversion for YUY2 output.
Ronald S. Bultje
git at videolan.org
Sat Aug 4 23:54:12 CEST 2012
ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Thu Aug 2 20:46:08 2012 -0700| [7191e1c49037f0ddc25515938ad379185ddd0c9c] | committer: Ronald S. Bultje
lagarith: fix color plane inversion for YUY2 output.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7191e1c49037f0ddc25515938ad379185ddd0c9c
---
libavcodec/lagarith.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavcodec/lagarith.c b/libavcodec/lagarith.c
index e72674c..124ecee 100644
--- a/libavcodec/lagarith.c
+++ b/libavcodec/lagarith.c
@@ -618,11 +618,11 @@ static int lag_decode_frame(AVCodecContext *avctx,
lag_decode_arith_plane(l, p->data[0], avctx->width, avctx->height,
p->linesize[0], buf + offset_ry,
buf_size - offset_ry);
- lag_decode_arith_plane(l, p->data[2], avctx->width / 2,
- avctx->height, p->linesize[2],
- buf + offset_gu, buf_size - offset_gu);
lag_decode_arith_plane(l, p->data[1], avctx->width / 2,
avctx->height, p->linesize[1],
+ buf + offset_gu, buf_size - offset_gu);
+ lag_decode_arith_plane(l, p->data[2], avctx->width / 2,
+ avctx->height, p->linesize[2],
buf + offset_bv, buf_size - offset_bv);
break;
case FRAME_ARITH_YV12:
More information about the ffmpeg-cvslog
mailing list