[FFmpeg-cvslog] r22782 - trunk/libavformat/rmdec.c
rbultje
subversion
Fri Apr 2 16:58:03 CEST 2010
Author: rbultje
Date: Fri Apr 2 16:58:03 2010
New Revision: 22782
Log:
Fix uninitialized value in codepath.
See http://tranquillity.ath.cx/clang/2010-03-30-1/report-40QvF3.html#EndPath
Modified:
trunk/libavformat/rmdec.c
Modified: trunk/libavformat/rmdec.c
==============================================================================
--- trunk/libavformat/rmdec.c Fri Apr 2 16:56:59 2010 (r22781)
+++ trunk/libavformat/rmdec.c Fri Apr 2 16:58:03 2010 (r22782)
@@ -849,6 +849,7 @@ static int rm_read_packet(AVFormatContex
// 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;
More information about the ffmpeg-cvslog
mailing list