avformat/rmdec: Fix use of uninitialized variable

Fixes: CID1341580

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2015-12-09 18:17:47 +01:00
parent bc8b1e694c
commit 80ceb4696a
1 changed files with 1 additions and 1 deletions

View File

@ -1179,7 +1179,7 @@ static int ivr_probe(AVProbeData *p)
static int ivr_read_header(AVFormatContext *s)
{
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];
AVIOContext *pb = s->pb;
AVStream *st;