[FFmpeg-devel] [PATCH] rmdec.c another uninitialized value
Ronald S. Bultje
rsbultje
Fri Apr 2 16:49:37 CEST 2010
Hi,
$subj fixes http://tranquillity.ath.cx/clang/2010-03-30-1/report-e6KUTb.html#EndPath
Ronald
-------------- next part --------------
Index: ffmpeg-svn/libavformat/rmdec.c
===================================================================
--- ffmpeg-svn.orig/libavformat/rmdec.c 2010-04-02 10:43:19.000000000 -0400
+++ ffmpeg-svn/libavformat/rmdec.c 2010-04-02 10:48:39.000000000 -0400
@@ -860,6 +860,7 @@
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, ×tamp, &flags, &i, &pos);
if (len > 0)
More information about the ffmpeg-devel
mailing list