diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-08-06 19:20:47 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-06 19:24:50 +0400 |
commit | 287f7d0ae1267bf5e505d4173f5a4cb77f433c66 (patch) | |
tree | 79c4ad50a7e4885744c515231a3f854f352d1b0f /libavformat/unix.c | |
parent | 83db013a063b67e86c3fc0d77d72a0ac76302974 (diff) | |
parent | 2a0ec47bd70ebb79e8b2d2f956feeb3a813df798 (diff) |
Merge commit '2a0ec47bd70ebb79e8b2d2f956feeb3a813df798'
* commit '2a0ec47bd70ebb79e8b2d2f956feeb3a813df798':
unix: Convert from AVERROR to errno range before comparing error codes
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/unix.c')
-rw-r--r-- | libavformat/unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/unix.c b/libavformat/unix.c index bdfdc06d51..33f6bb457d 100644 --- a/libavformat/unix.c +++ b/libavformat/unix.c @@ -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); |