diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-08-02 20:46:08 -0700 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2012-08-03 11:09:17 -0700 |
commit | 7191e1c49037f0ddc25515938ad379185ddd0c9c (patch) | |
tree | 4df9ee40692a481fb27651ff40c704e5f6a91fc0 /libavcodec/lagarith.c | |
parent | 98d0d19208959766a58f13dd6a678d1f765a26ac (diff) | |
download | ffmpeg-7191e1c49037f0ddc25515938ad379185ddd0c9c.tar.gz |
lagarith: fix color plane inversion for YUY2 output.
Diffstat (limited to 'libavcodec/lagarith.c')
-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 e72674c481..124ecee161 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: |