summaryrefslogtreecommitdiff
path: root/libavformat/avio.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/avio.c')
-rw-r--r--libavformat/avio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c
index 1371722cfc..af9e049142 100644
--- a/libavformat/avio.c
+++ b/libavformat/avio.c
@@ -202,7 +202,7 @@ int64_t url_seek(URLContext *h, int64_t pos, int whence)
if (!h->prot->url_seek)
return AVERROR(EPIPE);
- ret = h->prot->url_seek(h, pos, whence);
+ ret = h->prot->url_seek(h, pos, whence & ~AVSEEK_FORCE);
return ret;
}