diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2010-04-02 14:58:03 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2010-04-02 14:58:03 +0000 |
commit | 190413cf81bc5d97d1a2f58466191b777211f802 (patch) | |
tree | 627fcfa4e4c37c89e631e07a0173563070eb0112 | |
parent | ddf8e75edede697af90eac4995022cae2965f403 (diff) | |
download | ffmpeg-190413cf81bc5d97d1a2f58466191b777211f802.tar.gz |
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
-rw-r--r-- | libavformat/rmdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |