aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rmdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-12-09 18:17:47 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2015-12-09 18:17:47 +0100
commit80ceb4696ab7b9c40a0e456a866c473a5291d2f2 (patch)
treeed8df4d515bd550553d0235e29197ff76215056e /libavformat/rmdec.c
parentbc8b1e694cc395fdf5e2917377ef11263c937d85 (diff)
downloadffmpeg-80ceb4696ab7b9c40a0e456a866c473a5291d2f2.tar.gz
avformat/rmdec: Fix use of uninitialized variable
Fixes: CID1341580 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/rmdec.c')
-rw-r--r--libavformat/rmdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index 8024b91d03..4a4665483f 100644
--- a/libavformat/rmdec.c
+++ b/libavformat/rmdec.c
@@ -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;