aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-02-28 18:10:30 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-02-28 18:10:49 +0100
commitc4735eef033e7638fa103f2dd292898945f7f24f (patch)
tree181ecbbe60f4b48e4e5ecdd9bd5aeb1a87d13b47 /libavcodec
parent03678a32bcb8e1ae5c213e02faf62df166cca05d (diff)
downloadffmpeg-c4735eef033e7638fa103f2dd292898945f7f24f.tar.gz
loco: silence warning: decoded may be used uninitialized in this function
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/loco.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/loco.c b/libavcodec/loco.c
index e21e693166..2b7116685d 100644
--- a/libavcodec/loco.c
+++ b/libavcodec/loco.c
@@ -238,6 +238,8 @@ static int decode_frame(AVCodecContext *avctx,
decoded = loco_decode_plane(l, p->data[0] + p->linesize[0]*(avctx->height-1) + 3, avctx->width, avctx->height,
-p->linesize[0], buf, buf_size, 4);
break;
+ default:
+ av_assert0(0);
}
if (decoded < 0 || decoded > buf_size)