changeset 1362:354355acf961 libavformat

dont seek back if no sync to let eof happen
author bcoudurier
date Tue, 10 Oct 2006 12:58:34 +0000
parents 37baab7af15a
children b7545c0c613a
files mxf.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/mxf.c	Tue Oct 10 09:17:51 2006 +0000
+++ b/mxf.c	Tue Oct 10 12:58:34 2006 +0000
@@ -1030,7 +1030,6 @@
 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 @@
         av_update_cur_dts(s, st, sample_time);
         return 0;
     }
-    url_fseek(&s->pb, pos, SEEK_SET);
     return -1;
 }