aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/unix.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-08-06 15:39:59 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-08-06 15:40:05 +0200
commit253976720653f02595dee5edb85a8a9730ba0ae3 (patch)
tree902dccc537e2f279eb76031647e37648321d78c1 /libavformat/unix.c
parent8d06ce79411fc99d200ddc559bf1dd1f1434a13c (diff)
parentbb9378251a167ef0116f263912e57f715c1e02ac (diff)
downloadffmpeg-253976720653f02595dee5edb85a8a9730ba0ae3.tar.gz
Merge commit 'bb9378251a167ef0116f263912e57f715c1e02ac'
* commit 'bb9378251a167ef0116f263912e57f715c1e02ac': network: Use SOCK_CLOEXEC when available 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 dd481a16ea..bdfdc06d51 100644
--- a/libavformat/unix.c
+++ b/libavformat/unix.c
@@ -71,7 +71,7 @@ static int unix_open(URLContext *h, const char *filename, int flags)
s->addr.sun_family = AF_UNIX;
av_strlcpy(s->addr.sun_path, filename, sizeof(s->addr.sun_path));
- if ((fd = socket(AF_UNIX, s->type, 0)) < 0)
+ if ((fd = ff_socket(AF_UNIX, s->type, 0)) < 0)
return ff_neterrno();
if (s->listen) {