aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
Commit message (Collapse)AuthorAgeFilesLines
* avformat/tls_schannel: fix non-blocking write breaking TLS sessionsTimo Rothenpieler27 hours1-32/+79
|
* avformat/tls_schannel: add option to load server certificate from storeTimo Rothenpieler27 hours1-7/+40
|
* avformat/tls_schannel: add DTLS supportTimo Rothenpieler27 hours2-63/+829
|
* avformat/tls: make passing an external socket universalTimo Rothenpieler27 hours3-11/+16
|
* avformat/udp: add function to set remote address directlyTimo Rothenpieler27 hours2-0/+31
|
* avformat/udp: separate rx and tx fifoTimo Rothenpieler27 hours1-20/+27
|
* avformat/udp: make recv addr of each packet availableTimo Rothenpieler27 hours2-18/+36
|
* avformat/tls: move whip specific init out of generic tls codeTimo Rothenpieler27 hours3-13/+13
|
* avformat/rtsp: check copy_tls_opts_dictMarvin Scholz28 hours1-10/+33
| | | | | Properly check av_dict_set return values and propagate them to the caller so they can be handled.
* avformat/rtsp: use av_unreachableMarvin Scholz28 hours1-1/+1
|
* avformat/rtsp: fix misleading indentationMarvin Scholz28 hours1-2/+2
|
* avformat/scd: ensure SCD_MIN_HEADER_SIZE bytes are readKacper Michajłow43 hours1-1/+2
| | | | | | | | | | | Instead of accessing unintialized data when input is shorter than expected size. Fixes use of uninitialized value in MSAN build. Found by OSS-Fuzz. Signed-off-by: Kacper Michajłow <kasper93@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/rtsp: fix leak of options dict on errorMarvin Scholz2 days1-0/+3
| | | | | | Fix CID 1655306 Reviewed-by: Kieran Kunhya <kierank@obe.tv>
* avformat/tls: rename accidentally changed optionsMarvin Scholz5 days1-2/+2
| | | | | | | These were accidentally renamed back to the old names in ba9817df9df5911ceb2edff37d9ec970c29329e2 Reviewed-by: Timo Rothenpieler <timo@rothenpieler.org>
* avformat/mov: add support for APV streamsDawid Kozinski5 days3-2/+9
| | | | | Signed-off-by: Dawid Kozinski <d.kozinski@samsung.com> Signed-off-by: James Almer <jamrial@gmail.com>
* avformat: rtsp: export AV_PKT_DATA_RTCP_SRMarvin Scholz5 days1-0/+18
|
* lavf: add and use AVRTCPSenderReport structMarvin Scholz5 days3-17/+23
| | | | This will be used in a future commit to expose the SR as side-data.
* lavf/rtpdec: fix RTCP SR packet length checkMarvin Scholz5 days1-1/+1
| | | | | | | | | The minimum valid packet length is 28, given that the length includes the packet header. This didn't cause any issues so far as the code did not care about the last two fields in the SR section, but will be relevant in a future commit.
* avformat/tls_openssl: use SSL_CTX_set_min_proto_versionMarvin Scholz6 days1-1/+5
| | | | | | Using SSL_CTX_set_options to disallow specific versions is discouraged by the documentation, which recommends to use SSL_CTX_set_min_proto_version instead.
* avformat/tls_openssl: use TLS_[client|server]_methodMarvin Scholz6 days1-2/+2
| | | | | SSLv23_*_method was just a define for these anyway since OpenSSL 1.1.0 and the old functions are deprecated.
* avformat/tls_openssl: remove unnecessary checksMarvin Scholz6 days1-4/+4
| | | | Calling av_free with NULL is a no-op so this check is not needed.
* avformat/tls_openssl: remove leftover commentMarvin Scholz6 days1-1/+0
|
* avformat/tls_openssl: properly get new BIO indexMarvin Scholz6 days1-4/+12
| | | | | | As noted in the OpenSSL documentation, BIO_get_new_index must be used to get a new BIO index. This is ORd with the proper type flag BIO_TYPE_SOURCE_SINK.
* avformat/tls_openssl: remove now unnecessary defineMarvin Scholz6 days1-4/+2
| | | | | This was used previously when multiple OpenSSL versions were supported that required this to be handled differently.
* avformat: tls: drop support for OpenSSL < 1.1.0Marvin Scholz6 days2-172/+2
|
* avformat/rtsp: add TLS optionsDaniel N Pettersson6 days2-1/+36
| | | | | | | Add TLS options to RTSP for when TLS is used for the lower protocol. Signed-off-by: Marvin Scholz <epirat07@gmail.com> Co-authored-by: Marvin Scholz <epirat07@gmail.com>
* avformat/tls: move common client options into their own defineMarvin Scholz6 days1-5/+9
| | | | Used in a future commit to not duplicate options.
* avformat/mov: allowing custom udta atoms to pass through their values ↵Ken McGaugh7 days1-1/+1
| | | | | | correctly when export_all option specified. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/adpcm: Sanyo LD-ADPCM decoderPeter Ross8 days1-0/+1
|
* avformat/rtpdec_asf: fix leak in ff_wms_parse_sdp_a_line()Lidong Yan9 days1-1/+3
| | | | | | | | | In ff_wms_parse_sdp_a_line(), it allocates memory in buf, but doesn't free buf when avformat_alloc_context() failed. Add av_free(buf) before return to prevent from leak. Signed-off-by: Lidong Yan <502024330056@smail.nju.edu.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/rtpdec_latm: fix leak in parse_fmtp_config()Lidong Yan9 days1-1/+1
| | | | | | | | av_mallocz() allocates memory in config, but we forget to free it if init_get_bits() failed. Replace return ret with goto end. Signed-off-by: Lidong Yan <502024330056@smail.nju.edu.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/whip: fix format string for printing size_tTimo Rothenpieler9 days1-3/+3
|
* avformat/tls: clean up new whip optionsTimo Rothenpieler9 days2-5/+5
|
* avformat/tls: remove unused fingerprint optionTimo Rothenpieler9 days3-8/+2
|
* avformat/tls_openssl: use existing context handleTimo Rothenpieler9 days1-6/+6
|
* avformat/tls: fix udp initTimo Rothenpieler9 days1-3/+9
|
* avformat/udp: don't override 0 localportTimo Rothenpieler9 days1-1/+1
|
* avformat/tls: don't use http_proxy for udp socketsTimo Rothenpieler9 days1-1/+1
|
* avformat/tls: use non protocol specific error messageTimo Rothenpieler9 days1-1/+1
|
* avformat/whip: remove redundant WHIP: prefix from all loggingTimo Rothenpieler9 days1-75/+75
|
* avformat/whip: don't leak options dictTimo Rothenpieler9 days1-0/+1
|
* avformat/whip: use av_dict_set_int for intTimo Rothenpieler9 days1-6/+3
|
* avformat/Makefile: don't hardcode openssl for whip muxerTimo Rothenpieler9 days1-1/+1
|
* avformat/dump: add support for 3D Reference Displays Information side dataJames Almer11 days1-0/+13
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/apvdec: add framerate optionDawid Kozinski2025-06-272-3/+26
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/demux: Fix segfault due to avcodec_open2 failurePavel Koshevoy2025-06-271-1/+7
| | | | | | | Fixes 'ffprobe 1_poc.mp4' segfault introduced with commit 0021484d05f9b0f032fa319399de6e24eea0c04f codec_close should not assume that the codec_id did not change.
* avformat/whip: check the exchange sdp url is start with httpSteven Liu2025-06-261-0/+8
| | | | | | | | Make sure the WHIP protocol performs the SDP offer/answer exchange with the WebRTC peer over HTTP. Signed-off-by: Steven Liu <lq@chinaffmpeg.org> Reviewed-by: Jack Lau <jacklau1222@qq.com>
* avformat/whip: Remove unnecessary pkt checksSteven Liu2025-06-261-2/+0
| | | | | | | | | | h264_annexb_insert_sps_pps (called after write_packet) reorganizes PPS, SPS, and IDR packets in H.264 streams. Since write_packet already validates pkt, redundant null checks in h264_annexb_insert_sps_pps can be removed. Signed-off-by: Steven Liu <lq@chinaffmpeg.org> Reviewed-by: Marvin Scholz <epirat07@gmail.com>
* avformat/iamf_parser: remove unreachable codeJames Almer2025-06-261-2/+0
| | | | | | | | expanded_loudspeaker_layout is only present and read on the first layer. Fixes Coverity issue #1655173. Signed-off-by: James Almer <jamrial@gmail.com>
* avformat/tee: fix multiple bsfs in teeMarvin Scholz2025-06-261-1/+1
| | | | | | | | | | | | | Since 155508c6e925f4f2f5e77087a7e1925b3de735ff specifying multiple bsfs for different streams was broken: "[bsfs/a=h264_metadata:bsfs/v=h264_metadata]out.mp4|..." This incorrectly only parsed the first bsfs specification. The reason for this is that the dictionary is modified in the iterator, hence invalidating the iterator. The simplest fix for this is to simply iterate from the beginning in each loop given that the previous entry is removed.