aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* fate/ac3: fix multiple dependenciesNicolas Gaullier2025-07-051-5/+5
| | | | | Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/audio: fix multiple dependenciesNicolas Gaullier2025-07-051-6/+6
| | | | | Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/aac: fix multiple dependenciesNicolas Gaullier2025-07-051-7/+7
| | | | | Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/vorbis: fix multiple dependenciesNicolas Gaullier2025-07-051-11/+13
| | | | | Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/lavf-container: fix multiple dependenciesNicolas Gaullier2025-07-051-3/+3
| | | | | Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/gapless: fix multiple dependenciesNicolas Gaullier2025-07-051-38/+38
| | | | | Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/mov: fix multiple dependenciesNicolas Gaullier2025-07-051-16/+22
| | | | | Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/all: switch-fix mov muxer dependency to mp4 muxer dependencyNicolas Gaullier2025-07-054-12/+12
| | | | | Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/demux: fix multiple dependenciesNicolas Gaullier2025-07-051-23/+23
| | | | | Signed-off-by: Nicolas Gaullier <nicolas.gaullier@cji.paris> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fate/all: add missing dependencies for extradata bsfNicolas Gaullier2025-07-057-20/+22
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* tests/Makefile: make easier to check for multiple dependenciesNicolas Gaullier2025-07-051-8/+8
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/asrc_sinc: fix leak in config_input()Lidong Yan2025-07-051-7/+11
| | | | | | | | | | | In config_input(), fir_to_phase() allocates memory in h[longer], which would leak if av_calloc() to s->coeffs failed. lpf() allocates memory in h[0] and h[1], which would leak if fir_to_phase() failed. To fix this leak, add av_free(h[longer]) in as cleanup code, and replace return AVERROR* with goto cleanup to prevent from leaks. Signed-off-by: Lidong Yan <502024330056@smail.nju.edu.cn> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fftools/cmdutils: don't try to load arguments from file if not neededKacper Michajłow2025-07-051-2/+3
| | | | | | | | | | | | CLI option parser checks if argument exists when needed, but in this case only OPT_TYPE_BOOL where checked, so OPT_TYPE_FUNC without argument where trying to load a file from `arg` which is NULL in this case. Fixes crash on `ffmpeg -/version` Fixes: 6d17991b7e1bf1a5d104c8a6261709f7e6640d97 Signed-off-by: Kacper Michajłow <kasper93@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/mov: allowing custom udta atoms to pass through their values ↵Ken McGaugh2025-07-051-1/+1
| | | | | | correctly when export_all option specified. Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avcodec/opus: don't materialize buf pointer from nullKacper Michajłow2025-07-051-0/+3
| | | | | | | Fixes: avcodec/opus/dec.c: runtime error: applying non-zero offset 10 to null pointer Signed-off-by: Kacper Michajłow <kasper93@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* fftools/textformat: remove unreachable code in tf_mermaidMarvin Scholz2025-07-051-4/+1
| | | | | | | | | Integer writing is impossible here as the first branch was dead code, so remove it completely. Fix CID 1646948 Reviewed-by: softworkz <softworkz@hotmail.com>
* avcodec/nvdec: fix 10bit output pixel formatsTimo Rothenpieler2025-07-042-3/+14
| | | | Fixes #11655
* avcodec/adpcm: Sanyo LD-ADPCM decoderPeter Ross2025-07-049-2/+215
|
* avfilter: add pad_cuda filterJorge Estrada2025-07-048-1/+727
| | | | | | | | | | | This patch adds the pad_cuda video filter. A filter similar to the existing pad filter but accelerated by CUDA. The filter shares the same options as the software pad filter. Example usage: ffmpeg -hwaccel cuda -hwaccel_output_format cuda -i input.mp4 -vf "pad_cuda=w=iw+100:h=ih+100:x=-1:y=-1:color=red" out.mp4 Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
* avcodec/rv60dec: Check ofs for overflowsMichael Niedermayer2025-07-031-1/+3
| | | | | | | | Fixes: signed integer overflow: 30 + 2147483647 cannot be represented in type 'int' Fixes: 418335931/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RV60_fuzzer-6568264620900352 Reviewed-by: Peter Ross <pross@xvid.org> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avformat/rtpdec_asf: fix leak in ff_wms_parse_sdp_a_line()Lidong Yan2025-07-031-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>
* avcodec/sunrast: fix leak in sunrast_decode_frame()Lidong Yan2025-07-031-1/+3
| | | | | | | | | | In sunrast_decode_frame(), we use av_malloc_array() allocates memory to ptr and ptr2. However if buf_end - buf < 1, this function returns error code without freeing this memory thus cause a leak. Add av_freep() before return. 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 Yan2025-07-031-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 Rothenpieler2025-07-031-3/+3
|
* avformat/tls: clean up new whip optionsTimo Rothenpieler2025-07-032-5/+5
|
* avformat/tls: remove unused fingerprint optionTimo Rothenpieler2025-07-033-8/+2
|
* avformat/tls_openssl: use existing context handleTimo Rothenpieler2025-07-031-6/+6
|
* avformat/tls: fix udp initTimo Rothenpieler2025-07-031-3/+9
|
* avformat/udp: don't override 0 localportTimo Rothenpieler2025-07-031-1/+1
|
* avformat/tls: don't use http_proxy for udp socketsTimo Rothenpieler2025-07-031-1/+1
|
* avformat/tls: use non protocol specific error messageTimo Rothenpieler2025-07-031-1/+1
|
* avformat/whip: remove redundant WHIP: prefix from all loggingTimo Rothenpieler2025-07-031-75/+75
|
* avformat/whip: don't leak options dictTimo Rothenpieler2025-07-031-0/+1
|
* avformat/whip: use av_dict_set_int for intTimo Rothenpieler2025-07-031-6/+3
|
* avformat/Makefile: don't hardcode openssl for whip muxerTimo Rothenpieler2025-07-031-1/+1
|
* fftools/ffmpeg_filter: always reap all available frames before requesting ↵Marton Balint2025-07-031-15/+16
| | | | | | | | | | | | | new ones alfilter_graph_request_oldest() might return EAGAIN and produce a frame on not the oldest sink. Fixes ticket #11597. Fixes excessive frame buffering in #10959. Fixes excessive frame buffering in #11366. Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/f_select: port to activateMarton Balint2025-07-031-19/+26
| | | | | | Multi-input or multi-output filters should use activate now. Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/buffersink: keep requesting frames if one activation of the graph ↵Marton Balint2025-07-035-7/+18
| | | | | | | | | | | | | | | | | does not provide one A frame graph activation might not produce a frame in the requested sink, so keep on requesting a frame there unless we encounter a filter activation with buffersrc empty error. This makes av_buffersink_get_frame(_flags) work according to its documentation which claims that EAGAIN is only returned if additional frames must be inserted into the graph. Fate changes are because audio frames will have different sizes at segment boundaries, but content is the same. Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter: signal an empty buffersrc with an explicit activate error codeMarton Balint2025-07-034-3/+9
| | | | | | No change in functionality. Signed-off-by: Marton Balint <cus@passwd.hu>
* tests/fate/filter-audio: add anullsink testMarton Balint2025-07-032-0/+9
| | | | | | Tests ticket #11624 with a slight modification. Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/avfilter: make filter_activate_default request frames on behalf of ↵Marton Balint2025-07-031-0/+9
| | | | | | | | | | | | | sinks Sinks without an activate callback have no means to request frames in their input, therefore the default activate callback should do it for them. Fixes ticket #11624. Fixes ticket #10988. Fixes ticket #10990. Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/avfilter: always forward request frame in filter_activate_defaultMarton Balint2025-07-031-0/+11
| | | | | | | Even if all inputs are blocked an activate callback should request a frame on some if its inputs if a frame is requested on any of its outputs. Signed-off-by: Marton Balint <cus@passwd.hu>
* fate/filter-video: add ffprobe test for dual output select filterMarton Balint2025-07-033-0/+32
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/avfilter: fix forwarding EOF for simple API filters in ↵Marton Balint2025-07-031-9/+7
| | | | | | | | | | | | | | filter_activate_default EOF only need to be forwarded back if all outputs have reached EOF. Fixes infinte loop with ffprobe -f lavfi -i "smptebars=d=1,select=n=2:e=1[out0][out1]" Regression since d9e41ead82263e96ebd14d4d88d6e7f858dd944c. Fixes ticket #10959. Fixes ticket #11366. Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter/filters: simplify FF_FILTER_FORWARD_WANTED_ANYMarton Balint2025-07-031-3/+1
| | | | | | | | The status check is unneeded because an outlink with a nonzero status should always return 0 for ff_outlink_frame_wanted(). Also use unsigned for index because nb_outputs is unsigned as well. Signed-off-by: Marton Balint <cus@passwd.hu>
* avfilter: factorize requesting an input frame from multi output filtersMarton Balint2025-07-036-36/+20
| | | | Signed-off-by: Marton Balint <cus@passwd.hu>
* avcodec/rv34: Fix spelling mistakeAndreas Rheinhardt2025-07-031-1/+1
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/rv34: Don't report progress unnecessarilyAndreas Rheinhardt2025-07-031-4/+0
| | | | | | ff_mpv_frame_end() already does it. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/mpegvideo: Move loop_filter to {H263Dec,MPVEnc,VC1}ContextAndreas Rheinhardt2025-07-0321-45/+47
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* avcodec/mpegvideo: Move partitioned_frame to {H263Dec,MPVEnc}ContextAndreas Rheinhardt2025-07-037-20/+21
| | | | Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>