cook: fix use of uninitialized variable

Fixes CID741418
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/6/merge
Michael Niedermayer 12 years ago
parent d034847f7a
commit c9e4554329
  1. 2
      libavcodec/cook.c

@ -1057,7 +1057,7 @@ static av_cold int cook_decode_init(AVCodecContext *avctx)
int extradata_size = avctx->extradata_size; int extradata_size = avctx->extradata_size;
int s = 0; int s = 0;
unsigned int channel_mask = 0; unsigned int channel_mask = 0;
int samples_per_frame; int samples_per_frame = 0;
int ret; int ret;
q->avctx = avctx; q->avctx = avctx;

Loading…
Cancel
Save