mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
indeo4: prevent printing uninitialized variable
Fixes CID703822 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
2b1a2466c7
commit
23b203014f
@ -197,6 +197,7 @@ static int decode_pic_hdr(IVI45DecContext *ctx, AVCodecContext *avctx)
|
|||||||
|
|
||||||
/* decode subdivision of the planes */
|
/* decode subdivision of the planes */
|
||||||
pic_conf.luma_bands = decode_plane_subdivision(&ctx->gb);
|
pic_conf.luma_bands = decode_plane_subdivision(&ctx->gb);
|
||||||
|
pic_conf.chroma_bands = 0;
|
||||||
if (pic_conf.luma_bands)
|
if (pic_conf.luma_bands)
|
||||||
pic_conf.chroma_bands = decode_plane_subdivision(&ctx->gb);
|
pic_conf.chroma_bands = decode_plane_subdivision(&ctx->gb);
|
||||||
ctx->is_scalable = pic_conf.luma_bands != 1 || pic_conf.chroma_bands != 1;
|
ctx->is_scalable = pic_conf.luma_bands != 1 || pic_conf.chroma_bands != 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user