summaryrefslogtreecommitdiff
path: root/libavformat/sctp.c
Commit message (Collapse)AuthorAgeFilesLines
* avformat/sctp: close socket on errorsMichael Niedermayer2022-07-071-0/+2
| | | | | | | | This is untested as i have no testcase Fixes: CID1302709 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* lavf/network: log ff_socket() errors to proper contexts rather than NULLAnton Khirnov2022-01-211-1/+1
|
* Merge commit '2758cdedfb7ac61f8b5e4861f99218b6fd43491d'Derek Buitenhuis2016-02-291-1/+1
|\ | | | | | | | | | | | | | | | | | | | | 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>
| * lavf: reorganize URLProtocolsAnton Khirnov2016-02-221-1/+1
| | | | | | | | | | | | | | | | | | | | 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.
* | avformat: use AV_OPT_TYPE_BOOL in a bunch of placesClément Bœsch2015-12-041-1/+1
| |
* | Merge commit '8ef98855d25e457094468e2e1a79d9b10d6445b2'Michael Niedermayer2015-06-081-1/+1
|\ \ | |/ | | | | | | | | | | * commit '8ef98855d25e457094468e2e1a79d9b10d6445b2': sctp: Always initialize outmsg struct Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * sctp: Always initialize outmsg structVittorio Giovara2015-06-081-1/+1
| | | | | | | | | | CC: libav-stable@libav.org Bug-Id: CID 1302711
* | Merge commit 'a4c5801070198c1f2af32fa5cf850c330615ac24'Michael Niedermayer2015-03-151-20/+60
|\ \ | |/ | | | | | | | | | | * commit 'a4c5801070198c1f2af32fa5cf850c330615ac24': sctp: Update to match tcp Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * sctp: Update to match tcpLuca Barbato2015-03-151-20/+60
| | | | | | | | Use AVOption and fallback over multiple addresses
* | Merge commit '09e1ccc8cddc946da5e10841f10dc5ebdd187d9d'Michael Niedermayer2014-10-101-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | * commit '09e1ccc8cddc946da5e10841f10dc5ebdd187d9d': sctp: Use AVERROR_BUG instead of abort() Conflicts: libavformat/sctp.c See: 2e59142fa9a0db5fab8aa2e676ba524f61280b83 Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * sctp: Use AVERROR_BUG instead of abort()Luca Barbato2014-10-101-1/+1
| | | | | | | | | | | | | | | | 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
* | Merge commit '6ee1cb5740e7490151db7dcec7e20ceaf8a2fe1f'Michael Niedermayer2014-08-251-2/+2
|\ \ | |/ | | | | | | | | | | * commit '6ee1cb5740e7490151db7dcec7e20ceaf8a2fe1f': libavformat: use MSG_NOSIGNAL when applicable Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * libavformat: use MSG_NOSIGNAL when applicableRémi Denis-Courmont2014-08-251-2/+2
| | | | | | | | | | | | | | 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>
* | Drop remaining unneeded != NULLMichael Niedermayer2014-08-151-1/+1
| | | | | | | | | | Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Reinstate proper FFmpeg license for all files.Thilo Borgmann2013-08-301-4/+4
| |
* | Merge commit 'bb9378251a167ef0116f263912e57f715c1e02ac'Michael Niedermayer2013-08-061-1/+1
|\ \ | |/ | | | | | | | | | | * commit 'bb9378251a167ef0116f263912e57f715c1e02ac': network: Use SOCK_CLOEXEC when available Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * network: Use SOCK_CLOEXEC when availableLuca Barbato2013-08-051-1/+1
| |
* | Merge commit 'c0c2b96c136ec2cbfd808eefc26de399f447d62f'Michael Niedermayer2013-05-051-4/+4
|\ \ | |/ | | | | | | | | | | | | | | | | | | * 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>
| * sctp: Add a note on why sctp_recvmsg and sctp_sendmsg have ff_-prefixesDiego Biurrun2013-05-041-4/+4
| |
* | sctp: dont abort on invalid inputMichael Niedermayer2012-12-171-2/+4
| | | | | | | | | | | | Fixes Ticket1865 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | sctp: silence const warningMichael Niedermayer2012-11-081-1/+1
|/ | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* sctp: add port missing error messageJordi Ortiz2012-07-251-1/+5
| | | | | | | 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-261-1/+0
| | | | | | | | | | | 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-201-1/+0
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* sctp: be consistent with socket option levelSean McGovern2012-05-101-1/+1
| | | | | | 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-081-0/+328
Signed-off-by: Jordi Ortiz <nenjordi@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>