mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-01 15:54:26 +08:00
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
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user