summaryrefslogtreecommitdiff
path: root/libavformat/sctp.c
Commit message (Collapse)AuthorAge
* 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.
* sctp: Always initialize outmsg structVittorio Giovara2015-06-08
| | | | | CC: libav-stable@libav.org Bug-Id: CID 1302711
* sctp: Update to match tcpLuca Barbato2015-03-15
| | | | Use AVOption and fallback over multiple addresses
* sctp: Use AVERROR_BUG instead of abort()Luca Barbato2014-10-10
| | | | | | | | Trying to write to a stream id larger the the maximum requested is a programming error, still there is no reason to leave a reachable abort() in the codebase. CC: libav-stable@libav.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>
* network: Use SOCK_CLOEXEC when availableLuca Barbato2013-08-05
|
* sctp: Add a note on why sctp_recvmsg and sctp_sendmsg have ff_-prefixesDiego Biurrun2013-05-04
|
* sctp: add port missing error messageJordi Ortiz2012-07-25
| | | | | | | Without this patch a user a bit absent-minded may not notice that the connection doesn't work because the port is missing. Signed-off-by: Martin Storsjö <martin@martin.st>
* network: Include unistd.h from network.hMartin Storsjö2012-06-26
| | | | | | | | | | | This heaader is required for close() for sockets in network code. For winsock, the equivalent function is defined in the winsock2.h header. This avoids having the HAVE_UNISTD_H in all files dealing with raw sockets. Signed-off-by: Martin Storsjö <martin@martin.st>
* Remove unnecessary inclusions of [sys/]time.hMans Rullgard2012-06-20
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* sctp: be consistent with socket option levelSean McGovern2012-05-10
| | | | | | Replace SOL_SCTP by the more portable IPPROTO_SCTP. Signed-off-by: Diego Biurrun <diego@biurrun.de>
* sctp: Initial tcp-alike sctp support with streamsLuca Barbato2012-05-08
Signed-off-by: Jordi Ortiz <nenjordi@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>