Commit 5bd17dfe authored by bcoudurier's avatar bcoudurier

dont seek back if no sync to let eof happen

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6628 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ade3282b
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment