From: Ronald S. Bultje Date: Fri, 2 Apr 2010 14:58:03 +0000 (+0000) Subject: Fix uninitialized value in codepath. X-Git-Tag: v0.6~343 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=190413cf81bc5d97d1a2f58466191b777211f802;p=platform%2Fupstream%2Flibav.git 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 --- diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c index 24c1e54..ea97325 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;