diff options
author | Thorsten Jordan <tjordan@ macrosystem.de> | 2007-10-18 15:02:34 +0000 |
---|---|---|
committer | Andreas Ă–man <andreas@lonelycoder.com> | 2007-10-18 15:02:34 +0000 |
commit | f97931c1223d27b68300aeca0f8ab699da2a5fa7 (patch) | |
tree | 969da3a1746b150e3027d21a3af52af4a8ec047d | |
parent | d34841f1a8d907738b83b9b36c70eb6d236c2ef1 (diff) | |
download | ffmpeg-f97931c1223d27b68300aeca0f8ab699da2a5fa7.tar.gz |
set start_time to 0 to enable seeking in mp3-files
patch by Thorsten Jordan, tjordan macrosystem de
Originally committed as revision 10780 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/mp3.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mp3.c b/libavformat/mp3.c index bc12e8e2a5..6173be225e 100644 --- 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)) { |