mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
avformat/riffdec: Initialize bitrate
Fixes CID1338334
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 32bf6550cb)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user