aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-12-03 20:16:00 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2015-12-06 02:51:27 +0100
commitb8621a2e98601df227423ace37f2241555ea8189 (patch)
treef6201d0eb25716ee28fea0a033bd69ab5e54369d
parentaa9ac199b8c7bf28bcd4d4ff1fc7f68e3fff5123 (diff)
downloadffmpeg-b8621a2e98601df227423ace37f2241555ea8189.tar.gz
avformat/riffdec: Initialize bitrate
Fixes CID1338334 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> (cherry picked from commit 32bf6550cb9cc9f487a6722fe2bfc272a93c1065) Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-rw-r--r--libavformat/riffdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/riffdec.c b/libavformat/riffdec.c
index 7eecdb24b8..bd9bca01c0 100644
--- a/libavformat/riffdec.c
+++ b/libavformat/riffdec.c
@@ -87,7 +87,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");