From 190413cf81bc5d97d1a2f58466191b777211f802 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Fri, 2 Apr 2010 14:58:03 +0000 Subject: [PATCH] Fix uninitialized value in codepath. See http://tranquillity.ath.cx/clang/2010-03-30-1/report-40QvF3.html#EndPath Originally committed as revision 22782 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rmdec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index 24c1e54d8c..ea9732544e 100644 --- a/libavformat/rmdec.c +++ b/libavformat/rmdec.c @@ -849,6 +849,7 @@ static int rm_read_packet(AVFormatContext *s, AVPacket *pkt) // If there are queued audio packet return them first st = s->streams[rm->audio_stream_num]; ff_rm_retrieve_cache(s, s->pb, st, st->priv_data, pkt); + flags = 0; } else { if (rm->old_format) { RMStream *ast;