diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-08-06 15:39:59 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-06 15:40:05 +0200 |
commit | 253976720653f02595dee5edb85a8a9730ba0ae3 (patch) | |
tree | 902dccc537e2f279eb76031647e37648321d78c1 /libavformat/sctp.c | |
parent | 8d06ce79411fc99d200ddc559bf1dd1f1434a13c (diff) | |
parent | bb9378251a167ef0116f263912e57f715c1e02ac (diff) | |
download | ffmpeg-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/sctp.c')
-rw-r--r-- | libavformat/sctp.c | 2 |
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; |