diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-05-09 11:58:08 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-05-09 11:58:08 +0200 |
commit | eae77f4631a441cc15b7a16a7b62019cf3d429da (patch) | |
tree | b5c927ec717efee5767f78a8280c77af365b188b | |
parent | 2c83265290f679c07b30faa6a3804500931f1833 (diff) | |
download | ffmpeg-eae77f4631a441cc15b7a16a7b62019cf3d429da.tar.gz |
Fix lagarith YUY2 output.
-rw-r--r-- | libavcodec/lagarith.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/lagarith.c b/libavcodec/lagarith.c index 27793acdb0..96baf761ef 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: |