diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2010-03-15 22:54:22 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2010-03-15 22:54:22 +0000 |
commit | 493f54ada083b4d6c8f14f02607224fe258c211c (patch) | |
tree | 8f13732a9eff3e14888c4e79de4706b5aa06d321 /libavformat/avio.c | |
parent | 53f66cee0cb99e6fad4c4d1c13153e6e8e9fd53b (diff) | |
download | ffmpeg-493f54ada083b4d6c8f14f02607224fe258c211c.tar.gz |
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.c | 2 |
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; } |