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:
c6dbbc4
)
Fix incorrect display of ASF/WMV duration after r12926.
author
Josh Harris
<qt@tateu.net>
Sun, 30 Aug 2009 18:14:22 +0000
(18:14 +0000)
committer
Carl Eugen Hoyos
<cehoyos@rainbow.studorg.tuwien.ac.at>
Sun, 30 Aug 2009 18:14:22 +0000
(18:14 +0000)
Patch by Josh Harris, qt tateu net
Originally committed as revision 19748 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/asfdec.c
patch
|
blob
|
history
diff --git
a/libavformat/asfdec.c
b/libavformat/asfdec.c
index 0995b5aa82db338c2b62234db9aacedbd3dbb9f8..08f0d6586bf1481f77e83299eec873a736f79962 100644
(file)
--- a/
libavformat/asfdec.c
+++ b/
libavformat/asfdec.c
@@
-245,7
+245,7
@@
static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
asf_st->stream_language_index = 128; // invalid stream index means no language info
if(!(asf->hdr.flags & 0x01)) { // if we aren't streaming...
- st->duration = asf->hdr.
send
_time /
+ st->duration = asf->hdr.
play
_time /
(10000000 / 1000) - start_time;
}
get_guid(pb, &g);