]> git.sesse.net Git - ffmpeg/commitdiff
dont seek back if no sync to let eof happen
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Tue, 10 Oct 2006 12:58:34 +0000 (12:58 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Tue, 10 Oct 2006 12:58:34 +0000 (12:58 +0000)
Originally committed as revision 6628 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/mxf.c

index 38f7ec5ecda809a60571f808cf04c1c67dc7818c..8a5d5a65ea011d1fca4efa1c59d31f819360bb20 100644 (file)
@@ -1030,7 +1030,6 @@ static int mxf_probe(AVProbeData *p) {
 static int mxf_read_seek(AVFormatContext *s, int stream_index, int64_t sample_time, int flags)
 {
     AVStream *st = s->streams[stream_index];
-    offset_t pos = url_ftell(&s->pb);
     int64_t seconds;
     int i;
 
@@ -1051,7 +1050,6 @@ static int mxf_read_seek(AVFormatContext *s, int stream_index, int64_t sample_ti
         av_update_cur_dts(s, st, sample_time);
         return 0;
     }
-    url_fseek(&s->pb, pos, SEEK_SET);
     return -1;
 }