mirror of https://github.com/FFmpeg/FFmpeg.git
avio_seek() is called inside check(). Seeking to 'off' then seeking to 'off + i' is unefficient, and it can loop 64 * 1024 times in the worst case. When probe a malformed file over HTTP, it looks like stucked forvever. ffio_ensure_seekback() doesn't solve the issue when the stream is seekable but slow. Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>pull/388/head
parent
2205ccd216
commit
0d17f5228f
1 changed files with 7 additions and 9 deletions
Loading…
Reference in new issue