summaryrefslogtreecommitdiff
path: root/libavformat/riffdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-12-03 20:16:00 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2015-12-03 20:20:09 +0100
commit32bf6550cb9cc9f487a6722fe2bfc272a93c1065 (patch)
tree58d23bf8a6c0ed4d506440068ddaba31b66ae354 /libavformat/riffdec.c
parent085ab74972bcaa459a3383e59aa80848cbf1bb63 (diff)
downloadffmpeg-32bf6550cb9cc9f487a6722fe2bfc272a93c1065.tar.gz
avformat/riffdec: Initialize bitrate
Fixes CID1338334 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/riffdec.c')
-rw-r--r--libavformat/riffdec.c2
1 files changed, 1 insertions, 1 deletions
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");