summaryrefslogtreecommitdiff
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-12-16 18:10:52 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2007-12-16 18:10:52 +0000
commit23d2cfe9a539ffbce0ac2bde1caf830ca135b3c5 (patch)
treef01d314b7661b88ea342f6511b7f84d90e4803ed /libavformat/mov.c
parent01eeb422fd9aeb72b42a2743394c11e6e6c99a48 (diff)
remove useless seek
Originally committed as revision 11236 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index d405ead95d..8700d90499 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1443,10 +1443,6 @@ static int mov_read_header(AVFormatContext *s, AVFormatParameters *ap)
}
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++) {