# HG changeset patch # User bcoudurier # Date 1160485114 0 # Node ID 354355acf9617dbde0b359d304cd0f4c4677e72a # Parent 37baab7af15a0b6a036110d106e732f27c74838e dont seek back if no sync to let eof happen diff -r 37baab7af15a -r 354355acf961 mxf.c --- 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; }