[FFmpeg-cvslog] r22783 - trunk/libavformat/rmdec.c

rbultje subversion
Fri Apr 2 16:58:55 CEST 2010


Author: rbultje
Date: Fri Apr  2 16:58:55 2010
New Revision: 22783

Log:
Another uninitialized value.

See http://tranquillity.ath.cx/clang/2010-03-30-1/report-e6KUTb.html#EndPath

Modified:
   trunk/libavformat/rmdec.c

Modified: trunk/libavformat/rmdec.c
==============================================================================
--- trunk/libavformat/rmdec.c	Fri Apr  2 16:58:03 2010	(r22782)
+++ trunk/libavformat/rmdec.c	Fri Apr  2 16:58:55 2010	(r22783)
@@ -860,6 +860,7 @@ static int rm_read_packet(AVFormatContex
                 len = !ast->audio_framesize ? RAW_PACKET_SIZE :
                     ast->coded_framesize * ast->sub_packet_h / 2;
                 flags = (seq++ == 1) ? 2 : 0;
+                pos = url_ftell(s->pb);
             } else {
                 len=sync(s, &timestamp, &flags, &i, &pos);
                 if (len > 0)



More information about the ffmpeg-cvslog mailing list