This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
unix: Convert from AVERROR to errno range before comparing error codes
Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n2.1
Martin Storsjö
12 years ago
parent
0ba4ea312b
commit
2a0ec47bd7
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/unix.c
+ 1
- 1
libavformat/unix.c
View File
@@ -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);
Write
Preview
Loading…
Cancel
Save