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:
2b1a246
)
indeo4: prevent printing uninitialized variable
author
Michael Niedermayer
<michaelni@gmx.at>
Thu, 18 Oct 2012 18:41:51 +0000
(20:41 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Thu, 18 Oct 2012 18:41:51 +0000
(20:41 +0200)
Fixes CID703822
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/indeo4.c
patch
|
blob
|
history
diff --git
a/libavcodec/indeo4.c
b/libavcodec/indeo4.c
index
bb5ec10
..
a3d7e6c
100644
(file)
--- a/
libavcodec/indeo4.c
+++ b/
libavcodec/indeo4.c
@@
-197,6
+197,7
@@
static int decode_pic_hdr(IVI45DecContext *ctx, AVCodecContext *avctx)
/* decode subdivision of the planes */
pic_conf.luma_bands = decode_plane_subdivision(&ctx->gb);
+ pic_conf.chroma_bands = 0;
if (pic_conf.luma_bands)
pic_conf.chroma_bands = decode_plane_subdivision(&ctx->gb);
ctx->is_scalable = pic_conf.luma_bands != 1 || pic_conf.chroma_bands != 1;