Commit 80ceb469 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/rmdec: Fix use of uninitialized variable

Fixes: CID1341580
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent bc8b1e69
...@@ -1179,7 +1179,7 @@ static int ivr_probe(AVProbeData *p) ...@@ -1179,7 +1179,7 @@ static int ivr_probe(AVProbeData *p)
static int ivr_read_header(AVFormatContext *s) static int ivr_read_header(AVFormatContext *s)
{ {
unsigned tag, type, len, tlen, value; unsigned tag, type, len, tlen, value;
int i, j, n, count, nb_streams, ret; int i, j, n, count, nb_streams = 0, ret;
uint8_t key[256], val[256]; uint8_t key[256], val[256];
AVIOContext *pb = s->pb; AVIOContext *pb = s->pb;
AVStream *st; AVStream *st;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment