Browse Source

cook: fix use of uninitialized variable

Fixes CID741418
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.1
Michael Niedermayer 13 years ago
parent
commit
c9e4554329
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/cook.c

+ 1
- 1
libavcodec/cook.c View File

@@ -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