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:
d34841f
)
set start_time to 0 to enable seeking in mp3-files
author
Thorsten Jordan
<tjordan@ macrosystem.de>
Thu, 18 Oct 2007 15:02:34 +0000
(15:02 +0000)
committer
Andreas Öman
<andreas@lonelycoder.com>
Thu, 18 Oct 2007 15:02:34 +0000
(15:02 +0000)
patch by Thorsten Jordan, tjordan macrosystem de
Originally committed as revision 10780 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/mp3.c
patch
|
blob
|
history
diff --git
a/libavformat/mp3.c
b/libavformat/mp3.c
index
bc12e8e
..
6173be2
100644
(file)
--- a/
libavformat/mp3.c
+++ b/
libavformat/mp3.c
@@
-438,6
+438,7
@@
static int mp3_read_header(AVFormatContext *s,
st->codec->codec_type = CODEC_TYPE_AUDIO;
st->codec->codec_id = CODEC_ID_MP3;
st->need_parsing = AVSTREAM_PARSE_FULL;
+ st->start_time = 0;
/* try to get the TAG */
if (!url_is_streamed(&s->pb)) {