From 32bf6550cb9cc9f487a6722fe2bfc272a93c1065 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 3 Dec 2015 20:16:00 +0100 Subject: [PATCH] avformat/riffdec: Initialize bitrate Fixes CID1338334 Signed-off-by: Michael Niedermayer --- libavformat/riffdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/riffdec.c b/libavformat/riffdec.c index e75aee5de9..a38ea39f0d 100644 --- a/libavformat/riffdec.c +++ b/libavformat/riffdec.c @@ -89,7 +89,7 @@ int ff_get_wav_header(AVFormatContext *s, AVIOContext *pb, AVCodecContext *codec, int size, int big_endian) { int id; - uint64_t bitrate; + uint64_t bitrate = 0; if (size < 14) { avpriv_request_sample(codec, "wav header size < 14");