diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2013-05-03 10:31:33 +0200 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2013-05-04 14:11:53 +0200 |
commit | 3fc66dfef22c044d1bbe36d0739441205bd99923 (patch) | |
tree | 9ef97ce4b3acc108bc68b757b7bef4f219405ff6 /libavformat/utils.c | |
parent | cc24afb45cfda95eda91ae8dbdfaa26aa35acc36 (diff) | |
download | ffmpeg-3fc66dfef22c044d1bbe36d0739441205bd99923.tar.gz |
lavf: filter out AVSEEK_FLAG_BACKWARD in new API.
Also document that it has no effect.
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 29f4c1de62..33b3e75a97 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2164,6 +2164,7 @@ int avformat_seek_file(AVFormatContext *s, int stream_index, int64_t min_ts, int if(s->seek2any>0) flags |= AVSEEK_FLAG_ANY; + flags &= ~AVSEEK_FLAG_BACKWARD; if (s->iformat->read_seek2) { int ret; |