Clément Bœsch
43ecec0f03
avformat: use AV_OPT_TYPE_BOOL in a bunch of places
2015-12-04 15:43:33 +01:00
Michael Niedermayer
71288bf80f
Merge commit '27852f2f1dec3749ea79883b70484c841169f747'
...
* commit '27852f2f1dec3749ea79883b70484c841169f747':
libavformat: Handle error return from ff_listen_bind
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-04-09 20:58:11 +02:00
Anders Nystrom
27852f2f1d
libavformat: Handle error return from ff_listen_bind
...
Handle error return from ff_listen_bind without leaking file descriptors.
Signed-off-by: Anders Nystrom <anders.nystrom@southpole.se>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2015-04-09 14:32:37 +02:00
Michael Niedermayer
08a110ca87
Merge commit '6ee1cb5740e7490151db7dcec7e20ceaf8a2fe1f'
...
* commit '6ee1cb5740e7490151db7dcec7e20ceaf8a2fe1f':
libavformat: use MSG_NOSIGNAL when applicable
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-08-25 13:27:21 +02:00
Rémi Denis-Courmont
6ee1cb5740
libavformat: use MSG_NOSIGNAL when applicable
...
If the remote end of a connection oriented socket hangs up, generating
an EPIPE error is preferable over an unhandled SIGPIPE signal.
Signed-off-by: Martin Storsjö <martin@martin.st>
2014-08-25 10:49:14 +03:00
Michael Niedermayer
be03912a78
avformat/unix: reshuffle #includes
...
This should fix openbsd while hopefully also working on solaris & android
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-21 05:51:41 +02:00
Michael Niedermayer
97e165cdae
avformat/unix: include sys/socket.h
...
unbreak android ndk r8 build
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-21 00:25:51 +02:00
Michael Niedermayer
89efaabc99
Merge commit 'abe5268c3328bf0e8fcfb7dc6e231b8920177c3a'
...
* commit 'abe5268c3328bf0e8fcfb7dc6e231b8920177c3a':
tcp: Use a different log message and level if there's more addresses to try
Conflicts:
libavformat/tcp.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-06 17:53:01 +02:00
Michael Niedermayer
287f7d0ae1
Merge commit '2a0ec47bd70ebb79e8b2d2f956feeb3a813df798'
...
* commit '2a0ec47bd70ebb79e8b2d2f956feeb3a813df798':
unix: Convert from AVERROR to errno range before comparing error codes
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-06 17:24:50 +02:00
Michael Niedermayer
2539767206
Merge commit 'bb9378251a167ef0116f263912e57f715c1e02ac'
...
* commit 'bb9378251a167ef0116f263912e57f715c1e02ac':
network: Use SOCK_CLOEXEC when available
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-06 15:40:05 +02:00
Michael Niedermayer
8d06ce7941
Merge commit '605387582bd35920b83a26dabbe1c0601f425621'
...
* commit '605387582bd35920b83a26dabbe1c0601f425621':
lavf: Support unix sockets
Conflicts:
configure
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-06 15:33:12 +02:00
Martin Storsjö
abe5268c33
tcp: Use a different log message and level if there's more addresses to try
...
This lowers the level of warnings printed if trying to connect
to a host name that provides both v6 and v4 addresses but the
service only is available on the v4 address (often occurring for
'localhost', with servers that aren't v6-aware).
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-06 10:39:39 +03:00
Martin Storsjö
2a0ec47bd7
unix: Convert from AVERROR to errno range before comparing error codes
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2013-08-06 10:38:14 +03:00
Luca Barbato
bb9378251a
network: Use SOCK_CLOEXEC when available
2013-08-05 16:13:36 +02:00
Luca Barbato
605387582b
lavf: Support unix sockets
2013-08-05 16:13:35 +02:00