[FFmpeg-cvslog] r11236 - trunk/libavformat/mov.c

bcoudurier subversion
Sun Dec 16 19:10:53 CET 2007


Author: bcoudurier
Date: Sun Dec 16 19:10:52 2007
New Revision: 11236

Log:
remove useless seek

Modified:
   trunk/libavformat/mov.c

Modified: trunk/libavformat/mov.c
==============================================================================
--- trunk/libavformat/mov.c	(original)
+++ trunk/libavformat/mov.c	Sun Dec 16 19:10:52 2007
@@ -1443,10 +1443,6 @@ static int mov_read_header(AVFormatConte
     }
     dprintf(mov->fc, "on_parse_exit_offset=%d\n", (int) url_ftell(pb));
 
-    /* some cleanup : make sure we are on the mdat atom */
-    if(!url_is_streamed(pb) && (url_ftell(pb) != mov->mdat_offset))
-        url_fseek(pb, mov->mdat_offset, SEEK_SET);
-
     mov->total_streams = s->nb_streams;
 
     for(i=0; i<mov->total_streams; i++) {




More information about the ffmpeg-cvslog mailing list