summaryrefslogtreecommitdiff
path: root/libavformat/avio.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2010-03-15 22:54:22 +0000
committerMichael Niedermayer <michaelni@gmx.at>2010-03-15 22:54:22 +0000
commit493f54ada083b4d6c8f14f02607224fe258c211c (patch)
tree8f13732a9eff3e14888c4e79de4706b5aa06d321 /libavformat/avio.c
parent53f66cee0cb99e6fad4c4d1c13153e6e8e9fd53b (diff)
Add AVSEEK_FORCE flag to indicate that the code should attempt to seek
by any means. Originally committed as revision 22557 to svn://svn.ffmpeg.org/ffmpeg/trunk
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;
}