aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-11-04 00:51:37 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-11-04 01:03:52 +0100
commitc9e455432988acd414990ba92f782b8e3c4b6aea (patch)
tree78bd33d6cb4937a922ea77f5a667031bd6ed2ab7
parentd034847f7ab4cd2d54377b8d8eafca07980c9d4d (diff)
downloadffmpeg-c9e455432988acd414990ba92f782b8e3c4b6aea.tar.gz
cook: fix use of uninitialized variable
Fixes CID741418 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/cook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cook.c b/libavcodec/cook.c
index 118d1afbad..cc256f6616 100644
--- a/libavcodec/cook.c
+++ b/libavcodec/cook.c
@@ -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;