projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
190413c
)
Another uninitialized value.
author
Ronald S. Bultje
<rsbultje@gmail.com>
Fri, 2 Apr 2010 14:58:55 +0000
(14:58 +0000)
committer
Ronald S. Bultje
<rsbultje@gmail.com>
Fri, 2 Apr 2010 14:58:55 +0000
(14:58 +0000)
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
libavformat/rmdec.c
patch
|
blob
|
history
diff --git
a/libavformat/rmdec.c
b/libavformat/rmdec.c
index
ea97325
..
b8abcfc
100644
(file)
--- 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, ×tamp, &flags, &i, &pos);
if (len > 0)