changeset 2819:5b055288c138 libavformat

remove useless seek
author bcoudurier
date Sun, 16 Dec 2007 18:10:52 +0000
parents f639238e2936
children 95ce00ad6f3e
files mov.c
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mov.c	Sun Dec 16 18:10:18 2007 +0000
+++ b/mov.c	Sun Dec 16 18:10:52 2007 +0000
@@ -1443,10 +1443,6 @@
     }
     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++) {