Mercurial > libavformat.hg
changeset 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 | 2aea27e618ba |
children | 81e681e8416c |
files | mp3.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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)) {