Commit c9e45543 authored by Michael Niedermayer's avatar Michael Niedermayer

cook: fix use of uninitialized variable

Fixes CID741418
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d034847f
......@@ -1057,7 +1057,7 @@ static av_cold int cook_decode_init(AVCodecContext *avctx)
int extradata_size = avctx->extradata_size;
int s = 0;
unsigned int channel_mask = 0;
int samples_per_frame;
int samples_per_frame = 0;
int ret;
q->avctx = avctx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment