summaryrefslogtreecommitdiff
path: root/libavformat/rmdec.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2010-04-02 14:58:03 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2010-04-02 14:58:03 +0000
commit190413cf81bc5d97d1a2f58466191b777211f802 (patch)
tree627fcfa4e4c37c89e631e07a0173563070eb0112 /libavformat/rmdec.c
parentddf8e75edede697af90eac4995022cae2965f403 (diff)
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
Diffstat (limited to 'libavformat/rmdec.c')
-rw-r--r--libavformat/rmdec.c1
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;