Index: ffmpeg/libavcodec/loco.c =================================================================== RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/loco.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- ffmpeg/libavcodec/loco.c 1 Apr 2005 04:30:31 -0000 1.3 +++ ffmpeg/libavcodec/loco.c 7 Apr 2005 22:02:28 -0000 1.4 @@ -188,11 +188,11 @@ decoded = loco_decode_plane(l, p->data[0], avctx->width, avctx->height, p->linesize[0], buf, buf_size, 1); buf += decoded; buf_size -= decoded; - decoded = loco_decode_plane(l, p->data[1], avctx->width / 2, avctx->height / 2, - p->linesize[1], buf, buf_size, 1); - buf += decoded; buf_size -= decoded; decoded = loco_decode_plane(l, p->data[2], avctx->width / 2, avctx->height / 2, p->linesize[2], buf, buf_size, 1); + buf += decoded; buf_size -= decoded; + decoded = loco_decode_plane(l, p->data[1], avctx->width / 2, avctx->height / 2, + p->linesize[1], buf, buf_size, 1); break; case LOCO_CRGB: case LOCO_RGB: decoded = loco_decode_plane(l, p->data[0], avctx->width, avctx->height,