changeset 5925:71db16df0562 libavformat

Fix uninitialized value in codepath. See http://tranquillity.ath.cx/clang/2010-03-30-1/report-40QvF3.html#EndPath
author rbultje
date Fri, 02 Apr 2010 14:58:03 +0000
parents 09a4cf11a986
children e4080988d1b2
files rmdec.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rmdec.c	Fri Apr 02 14:56:59 2010 +0000
+++ b/rmdec.c	Fri Apr 02 14:58:03 2010 +0000
@@ -849,6 +849,7 @@
             // 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;