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 17:39:59 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-08-06 17:40:05 +0400
commit253976720653f02595dee5edb85a8a9730ba0ae3 (patch)
tree902dccc537e2f279eb76031647e37648321d78c1 /libavformat/sctp.c
parent8d06ce79411fc99d200ddc559bf1dd1f1434a13c (diff)
parentbb9378251a167ef0116f263912e57f715c1e02ac (diff)
Merge commit 'bb9378251a167ef0116f263912e57f715c1e02ac'
* commit 'bb9378251a167ef0116f263912e57f715c1e02ac': network: Use SOCK_CLOEXEC when available Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/sctp.c')
-rw-r--r--libavformat/sctp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/sctp.c b/libavformat/sctp.c
index f9ddb9f22d..e3585b44b5 100644
--- a/libavformat/sctp.c
+++ b/libavformat/sctp.c
@@ -198,7 +198,7 @@ static int sctp_open(URLContext *h, const char *uri, int flags)
cur_ai = ai;
- fd = socket(cur_ai->ai_family, SOCK_STREAM, IPPROTO_SCTP);
+ fd = ff_socket(cur_ai->ai_family, SOCK_STREAM, IPPROTO_SCTP);
if (fd < 0)
goto fail;