[FFmpeg-cvslog] avformat/rmdec: Fix use of uninitialized variable
Michael Niedermayer
git at videolan.org
Wed Dec 9 18:27:43 CET 2015
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Wed Dec 9 18:17:47 2015 +0100| [80ceb4696ab7b9c40a0e456a866c473a5291d2f2] | committer: Michael Niedermayer
avformat/rmdec: Fix use of uninitialized variable
Fixes: CID1341580
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=80ceb4696ab7b9c40a0e456a866c473a5291d2f2
---
libavformat/rmdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index 8024b91..4a46654 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;
More information about the ffmpeg-cvslog
mailing list