Unified · Split
| @@ -627,11 +627,11 @@ static int lag_decode_frame(AVCodecContext *avctx, · 626 unmodified lines | ||
| 627 | 627 | lag_decode_arith_plane(l, p->data[0], avctx->width, avctx->height, |
| 628 | 628 | p->linesize[0], buf + offset_ry, |
| 629 | 629 | buf_size - offset_ry); |
| 630 | − lag_decode_arith_plane(l, p->data[2], avctx->width / 2, | |
| 631 | − avctx->height, p->linesize[2], | |
| 632 | − buf + offset_gu, buf_size - offset_gu); | |
| 633 | 630 | lag_decode_arith_plane(l, p->data[1], avctx->width / 2, |
| 634 | 631 | avctx->height, p->linesize[1], |
| 632 | + buf + offset_gu, buf_size - offset_gu); | |
| 633 | + lag_decode_arith_plane(l, p->data[2], avctx->width / 2, | |
| 634 | + avctx->height, p->linesize[2], | |
| 635 | 635 | buf + offset_bv, buf_size - offset_bv); |
| 636 | 636 | break; |
| 637 | 637 | case FRAME_ARITH_YV12: |