Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | avformat/tls_schannel: fix non-blocking write breaking TLS sessions | Timo Rothenpieler | 27 hours | 1 | -32/+79 |
| | |||||
* | avformat/tls_schannel: add option to load server certificate from store | Timo Rothenpieler | 27 hours | 1 | -7/+40 |
| | |||||
* | avformat/tls_schannel: add DTLS support | Timo Rothenpieler | 27 hours | 2 | -63/+829 |
| | |||||
* | avformat/tls: make passing an external socket universal | Timo Rothenpieler | 27 hours | 3 | -11/+16 |
| | |||||
* | avformat/udp: add function to set remote address directly | Timo Rothenpieler | 27 hours | 2 | -0/+31 |
| | |||||
* | avformat/udp: separate rx and tx fifo | Timo Rothenpieler | 27 hours | 1 | -20/+27 |
| | |||||
* | avformat/udp: make recv addr of each packet available | Timo Rothenpieler | 27 hours | 2 | -18/+36 |
| | |||||
* | avformat/tls: move whip specific init out of generic tls code | Timo Rothenpieler | 27 hours | 3 | -13/+13 |
| | |||||
* | avformat/rtsp: check copy_tls_opts_dict | Marvin Scholz | 28 hours | 1 | -10/+33 |
| | | | | | Properly check av_dict_set return values and propagate them to the caller so they can be handled. | ||||
* | avformat/rtsp: use av_unreachable | Marvin Scholz | 28 hours | 1 | -1/+1 |
| | |||||
* | avformat/rtsp: fix misleading indentation | Marvin Scholz | 28 hours | 1 | -2/+2 |
| | |||||
* | avformat/scd: ensure SCD_MIN_HEADER_SIZE bytes are read | Kacper Michajłow | 43 hours | 1 | -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 error | Marvin Scholz | 2 days | 1 | -0/+3 |
| | | | | | | Fix CID 1655306 Reviewed-by: Kieran Kunhya <kierank@obe.tv> | ||||
* | avformat/tls: rename accidentally changed options | Marvin Scholz | 5 days | 1 | -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 streams | Dawid Kozinski | 5 days | 3 | -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_SR | Marvin Scholz | 5 days | 1 | -0/+18 |
| | |||||
* | lavf: add and use AVRTCPSenderReport struct | Marvin Scholz | 5 days | 3 | -17/+23 |
| | | | | This will be used in a future commit to expose the SR as side-data. | ||||
* | lavf/rtpdec: fix RTCP SR packet length check | Marvin Scholz | 5 days | 1 | -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_version | Marvin Scholz | 6 days | 1 | -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]_method | Marvin Scholz | 6 days | 1 | -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 checks | Marvin Scholz | 6 days | 1 | -4/+4 |
| | | | | Calling av_free with NULL is a no-op so this check is not needed. | ||||
* | avformat/tls_openssl: remove leftover comment | Marvin Scholz | 6 days | 1 | -1/+0 |
| | |||||
* | avformat/tls_openssl: properly get new BIO index | Marvin Scholz | 6 days | 1 | -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 define | Marvin Scholz | 6 days | 1 | -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.0 | Marvin Scholz | 6 days | 2 | -172/+2 |
| | |||||
* | avformat/rtsp: add TLS options | Daniel N Pettersson | 6 days | 2 | -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 define | Marvin Scholz | 6 days | 1 | -5/+9 |
| | | | | Used in a future commit to not duplicate options. | ||||
* | avformat/mov: allowing custom udta atoms to pass through their values ↵ | Ken McGaugh | 7 days | 1 | -1/+1 |
| | | | | | | correctly when export_all option specified. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc> | ||||
* | avcodec/adpcm: Sanyo LD-ADPCM decoder | Peter Ross | 8 days | 1 | -0/+1 |
| | |||||
* | avformat/rtpdec_asf: fix leak in ff_wms_parse_sdp_a_line() | Lidong Yan | 9 days | 1 | -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 Yan | 9 days | 1 | -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_t | Timo Rothenpieler | 9 days | 1 | -3/+3 |
| | |||||
* | avformat/tls: clean up new whip options | Timo Rothenpieler | 9 days | 2 | -5/+5 |
| | |||||
* | avformat/tls: remove unused fingerprint option | Timo Rothenpieler | 9 days | 3 | -8/+2 |
| | |||||
* | avformat/tls_openssl: use existing context handle | Timo Rothenpieler | 9 days | 1 | -6/+6 |
| | |||||
* | avformat/tls: fix udp init | Timo Rothenpieler | 9 days | 1 | -3/+9 |
| | |||||
* | avformat/udp: don't override 0 localport | Timo Rothenpieler | 9 days | 1 | -1/+1 |
| | |||||
* | avformat/tls: don't use http_proxy for udp sockets | Timo Rothenpieler | 9 days | 1 | -1/+1 |
| | |||||
* | avformat/tls: use non protocol specific error message | Timo Rothenpieler | 9 days | 1 | -1/+1 |
| | |||||
* | avformat/whip: remove redundant WHIP: prefix from all logging | Timo Rothenpieler | 9 days | 1 | -75/+75 |
| | |||||
* | avformat/whip: don't leak options dict | Timo Rothenpieler | 9 days | 1 | -0/+1 |
| | |||||
* | avformat/whip: use av_dict_set_int for int | Timo Rothenpieler | 9 days | 1 | -6/+3 |
| | |||||
* | avformat/Makefile: don't hardcode openssl for whip muxer | Timo Rothenpieler | 9 days | 1 | -1/+1 |
| | |||||
* | avformat/dump: add support for 3D Reference Displays Information side data | James Almer | 11 days | 1 | -0/+13 |
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> | ||||
* | avformat/apvdec: add framerate option | Dawid Kozinski | 2025-06-27 | 2 | -3/+26 |
| | | | | Signed-off-by: James Almer <jamrial@gmail.com> | ||||
* | avformat/demux: Fix segfault due to avcodec_open2 failure | Pavel Koshevoy | 2025-06-27 | 1 | -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 http | Steven Liu | 2025-06-26 | 1 | -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 checks | Steven Liu | 2025-06-26 | 1 | -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 code | James Almer | 2025-06-26 | 1 | -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 tee | Marvin Scholz | 2025-06-26 | 1 | -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. |