[FFmpeg-cvslog] r10780 - trunk/libavformat/mp3.c

andoma subversion
Thu Oct 18 17:02:35 CEST 2007


Author: andoma
Date: Thu Oct 18 17:02:34 2007
New Revision: 10780

Log:
set start_time to 0 to enable seeking in mp3-files

patch by Thorsten Jordan, tjordan macrosystem de


Modified:
   trunk/libavformat/mp3.c

Modified: trunk/libavformat/mp3.c
==============================================================================
--- trunk/libavformat/mp3.c	(original)
+++ trunk/libavformat/mp3.c	Thu Oct 18 17:02:34 2007
@@ -438,6 +438,7 @@ static int mp3_read_header(AVFormatConte
     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)) {




More information about the ffmpeg-cvslog mailing list