Re: [FFmpeg-devel] [PATCH] avfilter: add pad_cuda filter

2025-06-19 Thread Jorge Estrada
Thanks for the feedback. Addressed your points and attached an updated patch - Simplified the documentation to just point to the pad filter for usage but kept the examples - Made the adjustments to vf_pad_cuda.c - Updated vf_pad_cuda.cu. Should be easier to add 10-12 bit support down the line now.

Re: [FFmpeg-devel] [PATCH 5/8] avformat/mov: Check that sample_sizes is allocated in mov_parse_heif_items()

2025-06-19 Thread James Almer
On 6/19/2025 9:32 PM, Michael Niedermayer wrote: Fixes: NULL pointer dereference Fixes: 416811958/clusterfuzz-testcase-minimized-ffmpeg_dem_MOV_fuzzer-5425269114732544 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Nie

[FFmpeg-devel] [PATCH 2/8] avcodec/hcadec: Check sample_rate

2025-06-19 Thread Michael Niedermayer
Fixes: AVERROR_BUG return Fixes: 413997604/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HCA_fuzzer-5188382613635072 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/hcadec.c | 3 +++ 1 fil

[FFmpeg-devel] [PATCH 6/8] avcodec/vvc/ctu: Check palette_escape_val

2025-06-19 Thread Michael Niedermayer
Fixes: integer overflow Fixes: 418314174/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VVC_fuzzer-4871731867353088 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/vvc/ctu.c | 2 ++ 1 file

[FFmpeg-devel] [PATCH 8/8] avcodec/vvc/ctu: Check ff_vvc_num_signalled_palette_entries

2025-06-19 Thread Michael Niedermayer
Fixes: index 107 out of bounds for type 'uint16_t const[63]' Fixes: 421336912/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VVC_fuzzer-6436225806565376 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer ---

[FFmpeg-devel] [PATCH 7/8] avcodec/vvc/cabac: Check k in kth_order_egk_decode()

2025-06-19 Thread Michael Niedermayer
The return value is int we can thus not handle 31 or more bits Fixes: integer overflow Fixes: 418396701/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VVC_fuzzer-4730994378997760 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by

[FFmpeg-devel] [PATCH 4/8] tools/target_dec_fuzzer: adjust threshold for VP8

2025-06-19 Thread Michael Niedermayer
Fixes: Timeout Fixes: 416589179/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP8_fuzzer-5432788428062720 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- tools/target_dec_fuzzer.c | 1 + 1 file chang

[FFmpeg-devel] [PATCH 5/8] avformat/mov: Check that sample_sizes is allocated in mov_parse_heif_items()

2025-06-19 Thread Michael Niedermayer
Fixes: NULL pointer dereference Fixes: 416811958/clusterfuzz-testcase-minimized-ffmpeg_dem_MOV_fuzzer-5425269114732544 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/mov.c | 3 +++ 1 file ch

[FFmpeg-devel] [PATCH 3/8] swscale/output: Fix integer overflows in yuv2rgba64_1_c_template()

2025-06-19 Thread Michael Niedermayer
Fixes: signed integer overflow: -132524 * 16525 cannot be represented in type 'int' Fixes: 414862270/clusterfuzz-testcase-minimized-ffmpeg_SWS_fuzzer-4869083202125824 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niede

[FFmpeg-devel] [PATCH 1/8] avcodec/psd: Move frame allocation after RLE processing

2025-06-19 Thread Michael Niedermayer
Fixes: Timeout Fixes: 410609448/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PSD_fuzzer-6267226128973824 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/psd.c | 6 +++--- 1 file changed,

[FFmpeg-devel] [PATCH v2] configure: add -Wl when linker is called indirectly

2025-06-19 Thread Kacper Michajłow
It's possible to call linker indirectly through driver like Clang. In which cases linker args has to be prefixed with -Wl. Signed-off-by: Kacper Michajłow --- configure | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/configure b/configure index c57da316cc..0dede08356 100

[FFmpeg-devel] [PATCH 2/2] configure: add -Wl when linker is called indirectly

2025-06-19 Thread Kacper Michajłow
It's possible to call linker indirectly through driver like Clang. In which cases linker args has to be prefixed with -Wl. Signed-off-by: Kacper Michajłow --- configure | 5 + 1 file changed, 5 insertions(+) diff --git a/configure b/configure index c57da316cc..a5c3bd3917 100755 --- a/config

[FFmpeg-devel] [PATCH 1/2] configure: use proper Windows-style static library naming

2025-06-19 Thread Kacper Michajłow
On Windows, static libraries are typically named with a .lib extension. An exception to this is MinGW targets, which are treated as a distinct target-os. Using Windows-style naming allows Clang to be used as the linker driver, instead of invoking link or lld-link directly. The latter approach requ

[FFmpeg-devel] [PATCH v2] hwcontext_vulkan: fix exporting multi-plane DRM modifiers

2025-06-19 Thread russellgreene8-at-gmail . com
From: Russell Greene Previously, it was assumed that `drmFormatModifierPlaneCount` was one for all modifiers when exporting, which is not always the case, in particular for AMD GPUs and maybe others. Fetch the number of memory planes and fill the structs appropriately in this situation. The en

Re: [FFmpeg-devel] [PATCH 1/4] avformat/iamf_parse: Check extradata size

2025-06-19 Thread Andreas Rheinhardt
Michael Niedermayer: > Fixes: Assertion n>=0 && n<=32 failed at ./libavcodec/get_bits.h:406 > Fixes: > 398527871/clusterfuzz-testcase-minimized-ffmpeg_dem_IAMF_fuzzer-6602025714647040 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Sign

[FFmpeg-devel] AAC crashes and bugs

2025-06-19 Thread Michael Niedermayer
Hi Lynne, et al ossfuzz has currently 7 open public issues about AAC https://issues.oss-fuzz.com/issues?q=status:new%20%0Affmpeg:ffmpeg_AV_CODEC_ID_AAC_LATM_fuzzer https://issues.oss-fuzz.com/issues?q=status:new%20%0Affmpeg:ffmpeg_AV_CODEC_ID_AAC_FIXED_fuzzer do you or someone else have time to l

Re: [FFmpeg-devel] [PATCH] Add FUNDING.json

2025-06-19 Thread Kieran Kunhya via ffmpeg-devel
--- Begin Message --- On Thu, 19 Jun 2025, 20:12 Michael Niedermayer, wrote: > We have been contacted by Monet du Plessis of the etherium foundation and > Natascha Buck (Grants at the Better Internet Foundation) > > "The Ethereum Foundation is thrilled to inform you that your contribution > to >

Re: [FFmpeg-devel] [PATCH] configure: Make MSVC version grabbing more robust

2025-06-19 Thread Martin Storsjö
On Fri, 13 Jun 2025, Martin Storsjö wrote: When running plain "cl", to get the MSVC version, it prints the version header on stderr, while the usage instructions are printed on stdout. Usually, the version on stderr gets flushed first, so "head -n1" gets the line it expects, but some times (in p

[FFmpeg-devel] [PATCH] Add FUNDING.json

2025-06-19 Thread Michael Niedermayer
We have been contacted by Monet du Plessis of the etherium foundation and Natascha Buck (Grants at the Better Internet Foundation) "The Ethereum Foundation is thrilled to inform you that your contribution to open-source software development through your work on ffmpeg https://github.com/FFmpeg/F

Re: [FFmpeg-devel] [PATCH] ffprobe: add -codec: option

2025-06-19 Thread Maryla Ustarroz via ffmpeg-devel
--- Begin Message --- Friendly ping. This feature came up during the review of "[PATCH 2/2] avcodec/libaom: Add tests for HDR10+ metadata support" https://ffmpeg.org/pipermail/ffmpeg-devel/2025-June/344683.html On Tue, Jun 10, 2025 at 5:02 PM Maryla Ustarroz-Calonge via ffmpeg-devel wrote: > > >

Re: [FFmpeg-devel] [PATCH] avfilter/codecview: Enable QP visualization for H.264

2025-06-19 Thread Timothée
Context from the first version : Subject was "avcodec/h264: fixed qp table attach for h264" Here is a patch where I fixed the attach of per-macroblock qp tables for H.264. It was implemented for MPEG2 so I have only extended it. I tested the functionality with the codecview filter using the f

[FFmpeg-devel] [PATCH] download: remove unmaintained linux binary source

2025-06-19 Thread Gyan Doshi
This source looks to be unmaintained since 2024 August. The latest ffmpeg git master build is from 2024 June, and the latest release build is 7.0.2, from 2024 August. --- src/download | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/download b/src/download index 105eb56..46c581a 100644 --