Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-08-06 19:20:47 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-08-06 19:24:50 +0400
commit287f7d0ae1267bf5e505d4173f5a4cb77f433c66 (patch)
tree79c4ad50a7e4885744c515231a3f854f352d1b0f /libavformat/unix.c
parent83db013a063b67e86c3fc0d77d72a0ac76302974 (diff)
parent2a0ec47bd70ebb79e8b2d2f956feeb3a813df798 (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.c2
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);