[FFmpeg-cvslog] Fix lagarith YUY2 output.
Carl Eugen Hoyos
git at videolan.org
Wed May 9 11:59:43 CEST 2012
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Wed May 9 11:58:08 2012 +0200| [eae77f4631a441cc15b7a16a7b62019cf3d429da] | committer: Carl Eugen Hoyos
Fix lagarith YUY2 output.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eae77f4631a441cc15b7a16a7b62019cf3d429da
---
libavcodec/lagarith.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavcodec/lagarith.c b/libavcodec/lagarith.c
index 27793ac..96baf76 100644
--- a/libavcodec/lagarith.c
+++ b/libavcodec/lagarith.c
@@ -627,11 +627,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