mirror of https://github.com/FFmpeg/FFmpeg.git
The problem with url_exist() is that it tries to open a resource in RDONLY mode. If the file is a FIFO and there is already a reading client, the open() call will hang. By using avio_check() with access mode of 0, the second reading process will check if the file exists without attempting to open it, thus avoiding the lock. Fix issue #1663. Signed-off-by: Anton Khirnov <anton@khirnov.net>pull/2/head
parent
59d96941f0
commit
55815edca0
3 changed files with 6 additions and 6 deletions
Loading…
Reference in new issue