On Thu, Aug 02, 2012 at 08:46:08PM -0700, Ronald S. Bultje wrote:
> From: "Ronald S. Bultje" <rsbul...@gmail.com>
> 
> ---
>  libavcodec/lagarith.c |    6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/libavcodec/lagarith.c b/libavcodec/lagarith.c
> index 35f5a07..ff716b0 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:
> -- 

Might be OK. Do you have a sample to demonstrate that?
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to