network: prevent SIGPIPE on OSX
authorwm4 <nfxjfg@googlemail.com>
Sat, 30 May 2015 18:50:43 +0000 (20:50 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 30 May 2015 20:29:19 +0000 (22:29 +0200)
commitc41e0aedf5fc2a92502bc400010e64b8fea89d4e
treed7f5fb09085fc39b9991f9bd65cd42b2388de35a
parente9d646f44c6a3208e35a055ba2154f25ba497fa2
network: prevent SIGPIPE on OSX

OSX does not know MSG_NOSIGNAL, and provides its own non-standard
mechanism instead. I guess Apple hates standards.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/network.c