mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Merge commit '2a0ec47bd70ebb79e8b2d2f956feeb3a813df798'
* commit '2a0ec47bd70ebb79e8b2d2f956feeb3a813df798': unix: Convert from AVERROR to errno range before comparing error codes Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
287f7d0ae1
@ -93,7 +93,7 @@ static int unix_open(URLContext *h, const char *filename, int flags)
|
||||
return 0;
|
||||
|
||||
fail:
|
||||
if (s->listen && ret != EADDRINUSE)
|
||||
if (s->listen && AVUNERROR(ret) != EADDRINUSE)
|
||||
unlink(s->addr.sun_path);
|
||||
if (fd >= 0)
|
||||
closesocket(fd);
|
||||
|
Loading…
Reference in New Issue
Block a user