OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
03678a3
)
loco: silence warning: decoded may be used uninitialized in this function
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 28 Feb 2013 17:10:30 +0000
(18:10 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 28 Feb 2013 17:10:49 +0000
(18:10 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/loco.c
patch
|
blob
|
history
diff --git
a/libavcodec/loco.c
b/libavcodec/loco.c
index
e21e693
..
2b71166
100644
(file)
--- 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)