1
0
mirror of https://git.ffmpeg.org/ffmpeg.git synced 2026-10-24 02:09:03 +03:00
Commit Graph

12903 Commits

Author SHA1 Message Date
Michael Niedermayer
66143d6aaa Bump minor version for release/9.1
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-10-23 06:44:03 +02:00
Kyle Swanson
179d083493 avfilter/vf_libvmaf: use vmaf_picture_wrap() if available
Signed-off-by: Kyle Swanson <kswanson@netflix.com>
2026-10-22 20:55:23 +00:00
Stefan Singer
9295e3ef65 avfilter/whisper: include detected language in JSON output
The whisper filter exposes segment timestamps and text in JSON but omits the language selected by whisper.cpp. Clients consuming multilingual transcripts cannot distinguish the language of each transcription chunk without detecting it again.

Read whisper_full_lang_id() after each successful transcription and include its language code in JSON segments when available. This leaves the configured language and audio-frame metadata unchanged. Document that the code applies to the whole chunk, not to individual segments.

Tested with a minimal --enable-whisper build, make fate (without external SAMPLES), and a local WAV transcription using a multilingual tiny model.

Signed-off-by: Stefan Singer <stefan.singer@quartr.se>
2026-10-22 04:31:40 +00:00
Michael Niedermayer
5fd305b8f4 avfilter/firequalizer: avoid overflow selecting RDFT length
The nsamples_max doubling can overflow int for an accepted delay, causing an undersized RDFT and an out-of-bounds write during kernel generation. Compare in int64_t so excessive delays take the existing error path.

Add a FATE check for the reported delay.

Fixes: #24344
Reported-by: yijan4845
Assisted-by: Fairy
2026-10-22 01:26:03 +00:00
Michael Niedermayer
8493e8bad3 avfilter/vf_hwupload_cuda: give the preceding filter transfer buffers to write into
The frames a filter in front of hwupload_cuda produces are allocated
with av_hwframe_get_transfer_buffer(), so that the upload reads from
memory the device transfers directly from.

Assisted-by: Claude
2026-10-21 19:32:23 +00:00
Michael Niedermayer
7e99475ce9 avfilter/video: factor set_link_props() out of ff_default_get_video_buffer2()
Assisted-by: Claude
2026-10-21 19:32:23 +00:00
Michael Niedermayer
e2798d5cad avfilter/dnn_backend_tf: validate inference request before dereference
Check the request before reading its fields and use a context-free log for
the NULL case. This makes the documented EINVAL return reachable.

Assisted-by: Fairy
2026-10-21 11:39:12 +00:00
Michael Niedermayer
3edc8c2e1e avfilter/avfiltergraph: do not copy the channel layouts compared in swap_channel_layouts_on_filter()
Fixes: ZcCsKQC5oFuJ
Fixes: memleak
Memory leak Replicated through UnModified FFmpeg with LSan
Found during triage of the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24577
2026-10-20 20:41:50 +00:00
Michael Niedermayer
ca9aa7edd6 avfilter/vf_hqdn3d: forget the configured width when the buffers are freed
Fixes: WDZyf7w7BNU1
Fixes: NULL pointer dereference
NULL dereference after a failed allocation Replicated through API with ASAN
Found during the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24765
2026-10-20 20:41:50 +00:00
Michael Niedermayer
f90f210d31 avfilter/f_perms: free the input frame when it cannot be made writable or cloned
Fixes: 1MIkYBeZ4sTX
Fixes: memleak
Memory leak Replicated through Modified FFmpeg with LSan
Found during triage of the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24765
2026-10-20 20:41:50 +00:00
Michael Niedermayer
88cd68c8fd avfilter: make a frame whose format differs from the link writable with av_frame_make_writable()
Fixes: A3O7F4s10WXJ
Fixes: EINVAL on a format change
EINVAL on a format change Replicated through UnModified FFmpeg with a plain output diff
Found during the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24765
2026-10-20 20:41:50 +00:00
Michael Niedermayer
f0eedb48b6 avfilter/af_alimiter: do not mark attack as a runtime option
Fixes: MxIcMabVhhFR
Fixes: command without effect
Command without effect Replicated through UnModified FFmpeg with a plain output diff
Found during triage of the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24672
2026-10-20 20:41:50 +00:00
Michael Niedermayer
00ad4cba89 avfilter/af_alimiter: convert the attack, release and asc_level options where they are used
Fixes: fZnlZKlJmMn0
Fixes: wrong release time and asc level after a command
Wrong release time and asc level after a command Replicated through UnModified FFmpeg with a plain output diff
Found during the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24672
2026-10-20 20:41:50 +00:00
Michael Niedermayer
a28c9cdc02 avfilter/vf_cropdetect: scan the edge map inside the motion bounding box
The fate-filter-metadata-cropdetect1/2 references change as the scans
now stop at the edge free lines next to the box.

Fixes: s7zfKOCXo4MJ
Fixes: wrong crop area with mode=mvedges
Wrong crop area with mode=mvedges Replicated through UnModified FFmpeg with a plain output diff
Found during triage of the security report VoiiaDYyhdfz
Found again by the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24623
2026-10-20 20:41:50 +00:00
Michael Niedermayer
dd01289032 avfilter/dnn_backend_torch: wait only for the inference requests that were created
Fixes: nC3u8khGyx61
Fixes: hang on teardown
Hang on teardown Replicated through UnModified FFmpeg with gdb
Found during triage of the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24617
2026-10-20 20:41:50 +00:00
Michael Niedermayer
e3692c0895 avfilter/dnn_backend_tf: wait only for the inference requests that were created
Fixes: nC3u8khGyx61
Fixes: hang on teardown
Hang on teardown Replicated through UnModified FFmpeg with gdb
Found during triage of the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24617
2026-10-20 20:41:50 +00:00
Michael Niedermayer
25e4cde609 avfilter/dnn_backend_openvino: free the frames when execution fails before the task is queued
This is not a security issue.

Fixes: 6HSeekmc6mV7
Fixes: 8YwigyLd85Gn
Fixes: swarm-Memory-leak-of-input-output-frames-on-ff_dnn_execute_model-failure-3a5cbe
Fixes: memleak
Memory leak Replicated through UnModified FFmpeg with LSan

Found-by: zhang xingxing <2388969553@qq.com>
2026-10-20 20:41:50 +00:00
Michael Niedermayer
91be1619e2 avfilter/dnn_backend_openvino: do not dereference output_names when the ports are looked up by index
Fixes: O0Cm42dvrP4l
Fixes: NULL pointer dereference
NULL pointer dereference Replicated through UnModified FFmpeg with UBSAN and gdb
Found during the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24617
2026-10-20 20:41:50 +00:00
Michael Niedermayer
33ac0ca199 avfilter/dnn_backend_openvino: wait only for the inference requests that were created
Fixes: nC3u8khGyx61
Fixes: hang on teardown
Hang on teardown Replicated through UnModified FFmpeg with gdb
Hang on teardown Replicated through UnModified FFmpeg with gdb, a crafted 10240x10240 PNG, input_resizable=1 and vm.overcommit_memory=2
Found during the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24617
2026-10-20 20:41:50 +00:00
Michael Niedermayer
43f200e077 avfilter/dnn_backend_openvino: return an error when creating an inference request fails
Fixes: cE2BMN6svM0X
Fixes: success reported after a failure
Success reported after a failure Replicated through UnModified FFmpeg with LSan
Found during the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24617
2026-10-20 20:41:50 +00:00
Michael Niedermayer
2c31cf561f avfilter/dnn_backend_openvino: do not free the input layouts twice
Fixes: o7gnt6oof6Qd
Fixes: use after free
Fixes: double free
Heap use after free after an allocation failure Replicated through UnModified FFmpeg with ASAN, the allocation failure injected through an LD_PRELOAD shim
Double free Replicated through UnModified FFmpeg with gdb, a crafted 8192x8192 PNG, input_resizable=1 and vm.overcommit_memory=2
Found during triage of the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24617
2026-10-20 20:41:50 +00:00
Michael Niedermayer
a8ba973e1a avfilter/vf_libopencv: stop at the end of the shape file without stepping past it
Fixes: XPtsDsDMo2NW
Fixes: pointer formed two past the mapping
Pointer formed two past the mapping Replicated through Modified FFmpeg with an assertion
Found during the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24753
2026-10-20 20:41:50 +00:00
Michael Niedermayer
f3b95e698d avfilter/vf_lcevc: free the input frame when sending it to the decoder fails
Fixes: qchet66gqCBs
Fixes: memleak
Memleak Replicated through UnModified FFmpeg with LSan, LCEVC_SendDecoderBase() failing through an LD_PRELOAD shim
Found during triage of the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24765
2026-10-20 20:41:50 +00:00
Michael Niedermayer
d21ed89463 avfilter/vf_showinfo: do not checksum hardware frames
Fixes: lJDYwsOtMQXY
Fixes: EINVAL on every hardware frame
EINVAL on every hardware frame Replicated through UnModified FFmpeg with plain output
Found during the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24765
2026-10-20 20:41:50 +00:00
Michael Niedermayer
240475d3dd avfilter/vf_showinfo: free the frame when av_image_get_linesize() fails
Fixes: lJDYwsOtMQXY
Fixes: memleak
Memleak Replicated through UnModified FFmpeg with LSan
Found during the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24765
2026-10-20 20:41:50 +00:00
zhang xingxing
ddb610f9fe avfilter/qrencode: free the rendered width expressions
This is not a security issue.

Fixes: oFKoC1YimRPu
Fixes: swarm-Memory-leak-qr--text-and-pexpr-fields-not-freed-in-uninit-5cc723

Found-by: zhang xingxing <2388969553@qq.com>

Memory leak Replicated through UnModified FFmpeg with LSAN

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-10-20 11:36:57 +00:00
Michael Niedermayer
341553de8a avfilter/dnn_backend_openvino: do not free the model when updating it fails
Fixes: double free
Fixes: QIOnvFKEz80N
Regression since: 22652b576c
Found during triage of the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24617
Double free Replicated through UnModified FFmpeg with ASAN
2026-10-20 02:25:09 +00:00
Michael Niedermayer
21c4aad654 avfilter/dnn_backend_openvino: set the number of outputs together with the output ports
Fixes: NULL pointer dereference
Fixes: gJMHsT6GErl5
Regression since: 22652b576c
Found during triage of the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24617
NULL pointer dereference Replicated through UnModified FFmpeg with ASAN
2026-10-20 02:25:09 +00:00
Michael Niedermayer
94e1680dbf avfilter/vf_drawbox: check the expression results before converting them to int
Fixes: out of range float to int conversion
Fixes: signed integer overflow
Fixes: 4jtp2TTOoEsQ
Found during triage of the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24765
Out of range float to int conversion Replicated through UnModified FFmpeg with UBSAN
Signed integer overflow Replicated through UnModified FFmpeg with UBSAN
2026-10-20 02:25:09 +00:00
Michael Niedermayer
86b257b4da avfilter/motion_estimation: use separate linesizes for the current and reference frame
Fixes: out of array read
Fixes: Au41rSBM5kGS
Found during triage of the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24765
Out of array read Replicated through UnModified FFmpeg with ASAN
2026-10-20 02:25:09 +00:00
Michael Niedermayer
6a025044c7 avfilter/vf_photosensitivity: blend only the visible part of the lines
Fixes: out of array read
Fixes: Au41rSBM5kGS
Found during triage of the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24765
Out of array read Replicated through UnModified FFmpeg with ASAN
2026-10-20 02:25:09 +00:00
Michael Niedermayer
27f61c0ff5 avfilter/vf_idet: use the linesize of the previous and next frame
Fixes: out of array read
Fixes: Au41rSBM5kGS
Found during triage of the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24765
Out of array read Replicated through UnModified FFmpeg with ASAN
2026-10-20 02:25:09 +00:00
Michael Niedermayer
5cd8e58b94 avfilter/vf_deshake: use the linesize of the reference frame
Fixes: out of array read
Fixes: Au41rSBM5kGS
Found during triage of the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24765
Out of array read Replicated through UnModified FFmpeg with ASAN
2026-10-20 02:25:09 +00:00
Michael Niedermayer
f703292c42 avfilter/vf_libopencv: reject shapes too big for OpenCV
Fixes: out of array write
Fixes: EVA3Y4e693ul
Found during the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24753
Out of array write Replicated through UnModified FFmpeg with ASAN
2026-10-20 02:25:09 +00:00
Michael Niedermayer
c23f784451 avfilter/vidstabutils: do not offer packed RGB formats with vid.stab before 1.4.0
Fixes: assertion failure
Fixes: CSKmF1Dx1jig
Found during the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24608
Assertion failure Replicated through UnModified FFmpeg
Crash Replicated through UnModified FFmpeg with ASAN
2026-10-20 02:25:09 +00:00
Michael Niedermayer
8a729ff8ce avfilter/af_sofalizer: check the size of the delay data
Fixes: NULL pointer dereference
Fixes: d80uw1EIP3Pa
Regression since: ee64b64c02
Found during triage of the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24624
NULL pointer dereference Replicated through UnModified FFmpeg with ASAN
2026-10-20 02:25:09 +00:00
Michael Niedermayer
d9c9bebe78 avfilter/af_sofalizer: check the IR length against the IR data
Fixes: out of array read
Fixes: 65nc8s5OIq4Z
Regression since: 4096c670ab
Found during triage of the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24624
Out of array read Replicated through UnModified FFmpeg with ASAN
2026-10-20 02:25:09 +00:00
Michael Niedermayer
0f5ebb1eb6 avfilter/af_sofalizer: reject SOFA files with an IR length of 0
Fixes: undefined clz of 0
Fixes: jj9j0M05l3SP
Regression since: 7ea4b928a2
Found during the review of https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24624
Undefined clz of 0 Replicated through UnModified FFmpeg with UBSAN
2026-10-20 02:25:09 +00:00
Vincent Herbst
7f2e5cdd7c avfilter/vf_yadif_videotoolbox: fix over-release of autoreleased Metal objects
call_kernel() obtains the command buffer and compute encoder from
property getters (mtlQueue.commandBuffer, buffer.computeCommandEncoder),
which return autoreleased references under the non-ARC build, and then
releases them via ff_objc_release(). That is an over-release: when the
enclosing autorelease pool is drained, the objects are released a second
time and the process crashes with EXC_BAD_ACCESS in objc_release.

On current macOS this is reproducible with the ffmpeg CLI itself. The
filter thread's thread-local autorelease pool is popped during pthread
TSD cleanup at thread exit, so any run that used yadif_videotoolbox
crashes when the filter thread terminates:

  ffmpeg -init_hw_device videotoolbox=vt -filter_hw_device vt \
    -f lavfi -i testsrc2=size=640x480:rate=30 \
    -vf setfield=tff,format=nv12,hwupload,yadif_videotoolbox,\
  hwdownload,format=nv12 -frames:v 20 -f null -

  Thread 11 Crashed:: vf#0:0
  0 libobjc.A.dylib  objc_release + 16
  1 libobjc.A.dylib  AutoreleasePoolPage::releaseUntil(objc_object**) + 204
  2 libobjc.A.dylib  objc_autoreleasePoolPop + 244
  3 libobjc.A.dylib  objc_tls_direct_base<...>::dtor_(void*) + 156
  4 libsystem_pthread.dylib  _pthread_tsd_cleanup + 620
  5 libsystem_pthread.dylib  _pthread_exit + 84

Host applications hit the same crash earlier, for example when a
dispatch queue drains its last-resort pool after a work item that ran
the filter.

Wrap the kernel invocation in @autoreleasepool and drop the manual
releases, making the pool pop the single balanced release and draining
the Metal transients once per frame. The ff_objc_release() calls on the
s->mtl* members in do_uninit() stay: those hold owned references
obtained from new* methods.
2026-10-20 01:57:09 +00:00
Michael Niedermayer
38ac3a9237 avfilter/vf_codecview: compute the arrow head length in 64bit
Fixes: division by zero
Fixes: signed integer overflow
Fixes: NaN to int conversion
Fixes: 2qHh10XPbgiO
Fixes: swarm-Signed-integer-overflow-in-draw_arrow-length-calc-8f1f15
Division by zero Replicated through UnModified FFmpeg with ASAN
Signed integer overflow Replicated through UnModified FFmpeg with UBSAN
NaN to int conversion Replicated through UnModified FFmpeg with UBSAN

Found-by: zhang xingxing <2388969553@qq.com>
The report suggested doing the shift in a wider unsigned type.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-10-19 23:51:00 +00:00
Michael Niedermayer
3f00282939 avfilter/vf_stack: reject a grid with more than INT_MAX cells
Regression since: aa8905a1b1
NULL pointer dereference Replicated through UnModified FFmpeg with ASAN

Found during review of the fixes for the security report GIRN0tvt58WQ

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-10-19 23:51:00 +00:00
Michael Niedermayer
13133e0b32 avfilter: use ff_slice_pos() in the remaining slice threaded filters
This is a behavior preserving change for all non-overflowing cases.

Found during triage of the security report GIRN0tvt58WQ

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-10-19 23:51:00 +00:00
zhang xingxing
8a976f7275 avfilter/vf_stack: use ff_slice_pos() for the per-slice input range
Fixes: GIRN0tvt58WQ
Fixes: swarm-Signed-integer-overflow-in-process_slice-slice-computation-b29bec
Regression since: 631f7acc6c
Out of array read Replicated through UnModified FFmpeg with ASAN

Found-by: zhang xingxing <2388969553@qq.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-10-19 23:51:00 +00:00
Michael Niedermayer
63a9ce3921 avfilter/vf_pad_vaapi: do the x/y range check and centering in 64bit
Fixes: Ilayk1MzOixN
Fixes: swarm-Signed-integer-overflow-in-pad-x-y-bounds-check-499261
Regression since: 42eb10ecc6

Found-by: zhang xingxing <2388969553@qq.com>
The report suggested, among other options, widening the comparison.
The overflow in the centering was found during review of the fixes for the report.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-10-19 23:51:00 +00:00
Michael Niedermayer
12ca9b6890 avfilter/vf_pad: do the x/y range check and centering in 64bit
Fixes: Ilayk1MzOixN
Fixes: swarm-Signed-integer-overflow-in-pad-x-y-bounds-check-499261
Regression since: 57c3670896
Signed integer overflow Replicated through UnModified FFmpeg with UBSAN

Found-by: zhang xingxing <2388969553@qq.com>
The report suggested, among other options, widening the comparison.
The overflow in the centering was found during review of the fixes for the report.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-10-19 23:51:00 +00:00
zhang xingxing
eccf4fadf1 avfilter/vf_avgblur: compute max * area in 64bit
Fixes: out of array read
Fixes: BxsBdfl8050I
Fixes: swarm-Signed-integer-overflow-in-build_lut-slow-check-enables-heap-OOB-read-ba3309
Regression since: a7fc78c1a6
Out of array read Replicated through UnModified FFmpeg with ASAN

Found-by: zhang xingxing <2388969553@qq.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-10-19 23:51:00 +00:00
Steven Xiao
07ab463f9f avfilter/dnn: implement D3D12 DirectML zero-copy for ONNX Runtime backend
This commit enables the DNN video filter to run entirely on the GPU
for the full D3D12 pipeline (decode, AI inference, and encode)
without ever copying frames back to system memory, making it
significantly faster on D3D12 hardware.

Benchmarked the new zero-copy D3D12/DirectML DNN pipeline against
the existing CPU round-trip pipeline on three major GPU vendors; up
to 10x throughput improvement was measured across every vendor.

Add dnn_onnx_d3d12, a helper that binds the DirectML execution
provider to a D3D12VA input frame's own device and does NV12
texture<->tensor conversion on the GPU (CopyTextureRegion + compute
shaders), avoiding a host round-trip.

dnn_processing negotiates this automatically for D3D12 NV12 input
with device=dml. Software-frame input retains the host I/O path.
D3D12 input requires successful DirectML negotiation; unsupported
hardware-input configurations fail during configuration. Currently
limited to single-channel FLOAT/NCHW models; chroma bypasses the
model and is copied/upscaled on the GPU. At runtime, DirectML.dll
and d3dcompiler_47.dll must be loadable from the application
directory or System32.

Example usage:

  # Zero-copy pipeline
  ffmpeg.exe -y -loglevel info \
    -hwaccel d3d12va -hwaccel_output_format d3d12 \
    -i input-1920x1080.mp4 \
    -vf "dnn_processing=dnn_backend=onnx:device=dml:model=ecbsrnet_y_fused.onnx:input=input:output=output" \
    -c:v h264_d3d12va -bf 0 -c:a copy \
    output_2x_sr_zero_copy.mp4

  # CPU round-trip pipeline
  ffmpeg.exe -y -loglevel info \
    -init_hw_device d3d12va=dev -filter_hw_device dev -hwaccel d3d12va \
    -i input-1920x1080.mp4 \
    -vf "dnn_processing=dnn_backend=onnx:device=dml:model=ecbsrnet_y_fused.onnx:input=input:output=output,hwupload" \
    -c:v h264_d3d12va -bf 0 -c:a copy \
    output_2x_sr_round_trip.mp4

Signed-off-by: younengxiao <steven.xiao@amd.com>
2026-10-19 21:08:42 +00:00
dhalsimax
fd9a8f25a0 avfilter/vf_tonemap_opencl: zero the peak detection buffer
The kernel keeps its peak detection state in util_mem (frame index,
frame count, running totals of peak and average) and expects it to
start at zero. The buffer is created without a host pointer, so per the
OpenCL spec its contents are undefined. Intel's compute-runtime (NEO
24.35, legacy branch, on a Gen9 Apollo Lake) hands out recycled memory,
and the totals can start as garbage: the detected peak is then huge and
the whole stream comes out black (Y=16), or with the wrong brightness.
The same command gave black video every time on one film and a correct
picture on another; with the buffer zeroed both are correct.

Create the buffer from a zeroed array with CL_MEM_COPY_HOST_PTR.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VB8Q6zwZGmj1CET8B15HLg
2026-10-19 14:58:14 +00:00
romainhedouin
8dba37253f avfilter/vf_scale_vulkan: fix height check for debayering
The check compared the width twice so a height-only change was not
rejected when debayering.

Found during a code review sweep of ffmpeg using an LLM.

Signed-off-by: romainhedouin <romain.hedouin@epitech.eu>
2026-10-19 07:32:29 +00:00
zhang xingxing
5a2f87c190 avfilter/vf_libvmaf: reject a feature config without a name
This is not a security issue.

Fixes: 1QLxiyziAd9N
Fixes: swarm-NULL-feature_name-dereferenced-in-parse_features-129e69
Regression since: 3d29724c00
NULL feature name Replicated through UnModified FFmpeg (the error message read "(null)")
Found-by: zhang xingxing <2388969553@qq.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2026-10-18 22:47:35 +00:00