Commit 1cf73740 authored by andoma's avatar andoma

set start_time to 0 to enable seeking in mp3-files

patch by Thorsten Jordan, tjordan macrosystem de


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10780 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 646af4f9
......@@ -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)) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment