mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
loco: fix 10l typo (missing case)
Found-by: Clément Bœsch <ubitux@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
47f0beadba
commit
31a45014f4
@ -210,7 +210,7 @@ static int decode_frame(AVCodecContext *avctx,
|
|||||||
decoded = loco_decode_plane(l, p->data[0] + p->linesize[0]*(avctx->height-1) + 2, avctx->width, avctx->height,
|
decoded = loco_decode_plane(l, p->data[0] + p->linesize[0]*(avctx->height-1) + 2, avctx->width, avctx->height,
|
||||||
-p->linesize[0], buf, buf_size, 3);
|
-p->linesize[0], buf, buf_size, 3);
|
||||||
break;
|
break;
|
||||||
case LOCO_CRGBA: LOCO_RGBA:
|
case LOCO_CRGBA: case LOCO_RGBA:
|
||||||
decoded = loco_decode_plane(l, p->data[0], avctx->width, avctx->height,
|
decoded = loco_decode_plane(l, p->data[0], avctx->width, avctx->height,
|
||||||
p->linesize[0], buf, buf_size, 4);
|
p->linesize[0], buf, buf_size, 4);
|
||||||
buf += decoded; buf_size -= decoded;
|
buf += decoded; buf_size -= decoded;
|
||||||
|
Loading…
Reference in New Issue
Block a user