From c9e455432988acd414990ba92f782b8e3c4b6aea Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 4 Nov 2012 00:51:37 +0100 Subject: [PATCH] cook: fix use of uninitialized variable Fixes CID741418 Signed-off-by: Michael Niedermayer --- libavcodec/cook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;