Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-04-16 18:46:53 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-04-16 18:46:53 +0400
commit31a45014f405e55862c9443934fa8eceb255789b (patch)
treedc0a5b7fbac58595256265237da13c9740bc3d1f /libavcodec/loco.c
parent47f0beadba9003391d8bfef59b15aa21a5b2d293 (diff)
loco: fix 10l typo (missing case)
Found-by: Clément Bœsch <ubitux@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/loco.c')
-rw-r--r--libavcodec/loco.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/loco.c b/libavcodec/loco.c
index b1670ebaa1..9f14757612 100644
--- a/libavcodec/loco.c
+++ b/libavcodec/loco.c
@@ -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,
-p->linesize[0], buf, buf_size, 3);
break;
- case LOCO_CRGBA: LOCO_RGBA:
+ case LOCO_CRGBA: case LOCO_RGBA:
decoded = loco_decode_plane(l, p->data[0], avctx->width, avctx->height,
p->linesize[0], buf, buf_size, 4);
buf += decoded; buf_size -= decoded;