Mercurial > libavformat.hg
diff mp3.c @ 2622:c63b1bd7be16 libavformat
set start_time to 0 to enable seeking in mp3-files
patch by Thorsten Jordan, tjordan macrosystem de
| author | andoma |
|---|---|
| date | Thu, 18 Oct 2007 15:02:34 +0000 |
| parents | d045cbcf37a3 |
| children | 08b1ac852321 |
line wrap: on
line diff
--- a/mp3.c Thu Oct 18 09:50:53 2007 +0000 +++ b/mp3.c Thu Oct 18 15:02:34 2007 +0000 @@ -438,6 +438,7 @@ 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)) {
