aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/rmdec.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2010-04-02 14:58:55 +0000
committerRonald S. Bultje <rsbultje@gmail.com>2010-04-02 14:58:55 +0000
commit7b374c9ff2a12243222e594df641906f2e2b0cd6 (patch)
tree2121b36226d596a3c9e2dfa706f8e92c681daef6 /libavformat/rmdec.c
parent190413cf81bc5d97d1a2f58466191b777211f802 (diff)
downloadffmpeg-7b374c9ff2a12243222e594df641906f2e2b0cd6.tar.gz
Another uninitialized value.
See http://tranquillity.ath.cx/clang/2010-03-30-1/report-e6KUTb.html#EndPath Originally committed as revision 22783 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 ea9732544e..b8abcfc0b1 100644
--- a/libavformat/rmdec.c
+++ b/libavformat/rmdec.c
@@ -860,6 +860,7 @@ static int rm_read_packet(AVFormatContext *s, AVPacket *pkt)
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)