summaryrefslogtreecommitdiff
path: root/libavformat/unix.c
Commit message (Collapse)AuthorAge
* unix: Use rw_timeout for setting the connect timeoutMartin Storsjö2016-03-24
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* lavf: reorganize URLProtocolsAnton Khirnov2016-02-22
| | | | | | | | | | Instead of a linked list constructed at av_register_all(), store them in a constant array of pointers. Since no registration is necessary now, this removes some global state from lavf. This will also allow the urlprotocol layer caller to limit the available protocols in a simple and flexible way in the following commits.
* cosmetics: Drop empty comment linesDiego Biurrun2016-02-18
|
* libavformat: Handle error return from ff_listen_bindAnders Nystrom2015-04-09
| | | | | | | 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>
* libavformat: use MSG_NOSIGNAL when applicableRémi Denis-Courmont2014-08-25
| | | | | | | 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>
* tcp: Use a different log message and level if there's more addresses to tryMartin Storsjö2013-08-06
| | | | | | | | | 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>
* unix: Convert from AVERROR to errno range before comparing error codesMartin Storsjö2013-08-06
| | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* network: Use SOCK_CLOEXEC when availableLuca Barbato2013-08-05
|
* lavf: Support unix socketsLuca Barbato2013-08-05