diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-10-10 12:58:34 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-10-10 12:58:34 +0000 |
commit | 4a775c19cdbe18e5a4b84d34e80a1e421dfd6268 (patch) | |
tree | 95c2006d6271bb0b36d823b0e04f850a7b891f17 | |
parent | c2095a8f5c08a14aa4aa6a57354662b1560fb44d (diff) | |
download | ffmpeg-4a775c19cdbe18e5a4b84d34e80a1e421dfd6268.tar.gz |
dont seek back if no sync to let eof happen
Originally committed as revision 6628 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/mxf.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/mxf.c b/libavformat/mxf.c index 38f7ec5ecd..8a5d5a65ea 100644 --- a/libavformat/mxf.c +++ b/libavformat/mxf.c @@ -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; } |