]> git.sesse.net Git - ffmpeg/commit
network: prevent SIGPIPE on OSX
authorwm4 <nfxjfg@googlemail.com>
Thu, 28 May 2015 16:23:27 +0000 (18:23 +0200)
committerMartin Storsjö <martin@martin.st>
Sun, 31 May 2015 07:10:16 +0000 (10:10 +0300)
commit881b80b3294483696a21b21a69fa5eee30f33037
treead5ff11574bd30fc2a3c6c59e548065f2c6e67dd
parent0181ae9af2de1526464d23209b82e6674d362f5d
network: prevent SIGPIPE on OSX

OSX does not know MSG_NOSIGNAL. BSD (which OSX is based on) has got
the socket option SO_NOSIGPIPE (even if modern BSDs also support
MSG_NOSIGNAL).

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/network.c