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)) {