aboutsummaryrefslogtreecommitdiff
path: root/libavformat/sctp.c
AgeCommit message (Collapse)Author
2016-02-29Merge commit '2758cdedfb7ac61f8b5e4861f99218b6fd43491d'Derek Buitenhuis
This commit also disables the async fate test, because it used internal APIs in a non-kosher way, which no longer exists. * commit '2758cdedfb7ac61f8b5e4861f99218b6fd43491d': lavf: reorganize URLProtocols Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-22lavf: reorganize URLProtocolsAnton Khirnov
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.
2015-12-04avformat: use AV_OPT_TYPE_BOOL in a bunch of placesClément Bœsch
2015-06-08Merge commit '8ef98855d25e457094468e2e1a79d9b10d6445b2'Michael Niedermayer
* commit '8ef98855d25e457094468e2e1a79d9b10d6445b2': sctp: Always initialize outmsg struct Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-06-08sctp: Always initialize outmsg structVittorio Giovara
CC: libav-stable@libav.org Bug-Id: CID 1302711
2015-03-15Merge commit 'a4c5801070198c1f2af32fa5cf850c330615ac24'Michael Niedermayer
* commit 'a4c5801070198c1f2af32fa5cf850c330615ac24': sctp: Update to match tcp Merged-by: Michael Niedermayer <michaelni@gmx.at>
2015-03-15sctp: Update to match tcpLuca Barbato
Use AVOption and fallback over multiple addresses
2014-10-10Merge commit '09e1ccc8cddc946da5e10841f10dc5ebdd187d9d'Michael Niedermayer
* commit '09e1ccc8cddc946da5e10841f10dc5ebdd187d9d': sctp: Use AVERROR_BUG instead of abort() Conflicts: libavformat/sctp.c See: 2e59142fa9a0db5fab8aa2e676ba524f61280b83 Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-10-10sctp: Use AVERROR_BUG instead of abort()Luca Barbato
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
2014-08-25Merge commit '6ee1cb5740e7490151db7dcec7e20ceaf8a2fe1f'Michael Niedermayer
* commit '6ee1cb5740e7490151db7dcec7e20ceaf8a2fe1f': libavformat: use MSG_NOSIGNAL when applicable Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-08-25libavformat: use MSG_NOSIGNAL when applicableRémi Denis-Courmont
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-15Drop remaining unneeded != NULLMichael Niedermayer
Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-30Reinstate proper FFmpeg license for all files.Thilo Borgmann
2013-08-06Merge commit 'bb9378251a167ef0116f263912e57f715c1e02ac'Michael Niedermayer
* commit 'bb9378251a167ef0116f263912e57f715c1e02ac': network: Use SOCK_CLOEXEC when available Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-08-05network: Use SOCK_CLOEXEC when availableLuca Barbato
2013-05-05Merge commit 'c0c2b96c136ec2cbfd808eefc26de399f447d62f'Michael Niedermayer
* commit 'c0c2b96c136ec2cbfd808eefc26de399f447d62f': sctp: Add a note on why sctp_recvmsg and sctp_sendmsg have ff_-prefixes avs: Increase magic value score above file extension score Conflicts: libavformat/avs.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-04sctp: Add a note on why sctp_recvmsg and sctp_sendmsg have ff_-prefixesDiego Biurrun
2012-12-17sctp: dont abort on invalid inputMichael Niedermayer
Fixes Ticket1865 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-11-08sctp: silence const warningMichael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-07-25sctp: add port missing error messageJordi Ortiz
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>
2012-06-26network: Include unistd.h from network.hMartin Storsjö
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>
2012-06-20Remove unnecessary inclusions of [sys/]time.hMans Rullgard
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-05-10sctp: be consistent with socket option levelSean McGovern
Replace SOL_SCTP by the more portable IPPROTO_SCTP. Signed-off-by: Diego Biurrun <diego@biurrun.de>
2012-05-08sctp: Initial tcp-alike sctp support with streamsLuca Barbato
Signed-off-by: Jordi Ortiz <nenjordi@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>