This patch adds the alphamerge_cuda video filter
Example usage:
ffmpeg -f lavfi -i "color=c=red:s=1280x720:d=5,format=yuva420p" \
-f lavfi -i
"color=c=black:s=1280x720:d=5,geq=lum='255*gt(W/4,hypot(X-W/2,Y-H/2))'" \
-f lavfi -i "color=c=blue:s=1280x720:d=5" \
-filter_complex \
"[0:v]hwupload_cuda
Add check for the return value of av_calloc() to avoid potential NULL pointer
dereference.
Fixes: 0068b3d0f0 ("avfilter/avf_showcqt: switch to TX FFT from avutil")
Signed-off-by: Jiasheng Jiang
---
libavfilter/avf_showcqt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib
PR #20151 opened by Kacper Michajłow (kasper93)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20151
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20151.patch
From 888d807e9cb95419cac7d272bee7cc3ca00c2157 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?=
Date: Thu, 7
On Wed, Aug 06, 2025 at 04:56:42PM +0200, Nicolas George wrote:
> Jiasheng Jiang (HE12025-08-06):
> > Add check for the return value of av_packet_alloc() to avoid potential NULL
> > pointer dereference.
> > Moreover, replace redundant av_free() with fprintf().
> >
> > Fixes: 9a38184a14 ("examples
On Sun, Aug 03, 2025 at 11:31:27PM +, Jiasheng Jiang wrote:
> Add av_free() to free s.temp_dwt_buffer and s.temp_idwt_buffer at the end of
> the function to avoid memory leak.
>
> Fixes: 5d48e4eafa ("Merge commit 'a6a750c7ef240b72ce01e9653343a0ddf247d196'")
> Signed-off-by: Jiasheng Jiang
>
On Wed, Aug 06, 2025 at 04:39:47PM +, Jiasheng Jiang wrote:
> Add check for the return value of av_malloc_array() to avoid potential NULL
> pointer dereference.
>
> Fixes: d3be186ed1 ("avfilter/firequalizer: add dumpfile and dumpscale option")
> Signed-off-by: Jiasheng Jiang
> ---
> libavfi
On Wed, Aug 06, 2025 at 03:07:21PM +, Jiasheng Jiang wrote:
> Add proper deallocations in the error paths to avoid potential memory leaks.
>
> Fixes: e7dfaf16a4 ("libavfilter: example audio filtering program")
> Signed-off-by: Jiasheng Jiang
> ---
> doc/examples/filter_audio.c | 9 -
On Tue, Aug 05, 2025 at 07:31:15PM +, Jiasheng Jiang wrote:
> Move av_malloc() after the check for subsampling to avoid memory leak if
> subsampling < 0 and av_malloc() succeeds.
>
> Fixes: a41a2efc85 ("lavc/videotoolbox: add VP9 hardware acceleration")
> Signed-off-by: Jiasheng Jiang
> ---
On Tue, Aug 05, 2025 at 12:12:39PM +0200, Maryla Ustarroz-Calonge via
ffmpeg-devel wrote:
> This is in preparation to change the switch statement to if/else.
>
> Signed-off-by: Maryla Ustarroz-Calonge
> ---
> libavcodec/libdav1d.c | 165 ++
> 1 file chang
PR #20150 opened by pranavk
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20150
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20150.patch
By default, all globals in C/C++ compiled by clang are allocated
in non-large data sections. See [1] for background on code models.
For PIC (Positio
PR #20148 opened by Hunter Kvalevog (k-vog)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20148
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20148.patch
Tested on Windows 7, 10, 11, and Debian (Xorg + Wine)
Fixes: #11539
>From b1012d3796f98a8f1eb6543fcd62be80ca963fa1 Mon Sep 17 00:
PR #20147 opened by michaelni
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20147
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20147.patch
This should be done by fate.
This script already blocks security fixes
(https://code.ffmpeg.org/FFmpeg/FFmpeg/actions/runs/1046/jobs/0)
IMHO its
Hi
On Tue, Aug 05, 2025 at 02:52:28PM -0700, Dale Curtis wrote:
> Don't silently skip errors when AV_EF_EXPLODE is specified. This can
> lead to out-of-bound reads with ff_put_h264_chroma_mc4_ssse3() when
> small padding is used with the checked bitstream reader.
>
> Signed-off-by: Dale Curtis
PR #20146 opened by michaelni
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20146
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20146.patch
Signed-off-by: Michael Niedermayer
>From fb8afa5f018f406250e58d801b84f7af73683480 Mon Sep 17 00:00:00 2001
From: Michael Niedermayer
Date: Wed
PR #20144 opened by Kacper Michajłow (kasper93)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20144
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20144.patch
Fixes frame validation.
Fixes: OSS-Fuzz/416134551
From b3f94d3da8a60fde592bd76bc61ba394c1f18aef Mon Sep 17 00:00:00 2001
Fro
PR #20143 opened by jianhuaw
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20143
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20143.patch
Introduced by 307983b292adb60c82e75c8e5e41deedc89efbf0
Use the following command line to reproduce the issue:
./configure --toolchain=msvc --disab
PR #20137 opened by Sean McGovern (sean_mcg)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20137
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20137.patch
IBM introduced POWER9 in 2017 and likewise POWER10 in 2020.
>From 37eebd7fff8dc28bdc3652b941c7e11be54dfc69 Mon Sep 17 00:00:00 20
PR #20142 opened by Kacper Michajłow (kasper93)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20142
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20142.patch
ff_vvc_palette_escape_val() can return AVERROR in which case the
coeff*scale will overflow.
Fixes: runtime error: signed intege
PR #20141 opened by toqsxw
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20141
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20141.patch
>From 02b103af6008235afc9811ec9a2f3402239f79ce Mon Sep 17 00:00:00 2001
From: Wu Jianhua
Date: Thu, 7 Aug 2025 00:28:22 +0800
Subject: [PATCH 1/2]
Add check for the return value of av_packet_alloc() to avoid potential NULL
pointer dereference.
Moreover, replace redundant av_free() with fprintf().
Fixes: 9a38184a14 ("examples/decode_audio: allocate the packet dynamically")
Fixes: f5df897c4b ("examples/avcodec: split audio decoding into a sep
Add check for the return value of av_malloc_array() to avoid potential NULL
pointer dereference.
Fixes: d3be186ed1 ("avfilter/firequalizer: add dumpfile and dumpscale option")
Signed-off-by: Jiasheng Jiang
---
libavfilter/af_firequalizer.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/l
PR #20140 opened by Park Jeonghwan (devjeonghwan)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20140
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20140.patch
The APNG demuxer incorrectly assumed that fcTL chunks must be immediately
followed by fdAT or IDAT chunks.
Per PNG specificat
PR #20139 opened by Kacper Michajłow (kasper93)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20139
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20139.patch
current->num_tile_columns is not updated in the loop, so the existing
check was not working. Check current index instead and bre
Dmitrii Ovchinnikov:
> ---
> libavutil/hwcontext_d3d12va.c | 17 -
> libavutil/hwcontext_d3d12va.h | 11 +++
> 2 files changed, 27 insertions(+), 1 deletion(-)
>
> diff --git a/libavutil/hwcontext_d3d12va.c b/libavutil/hwcontext_d3d12va.c
> index 6507cf69c1..dca8ddc0c3 1006
From: Wu Jianhua
Introduced by 307983b292adb60c82e75c8e5e41deedc89efbf0
Use the following command line to reproduce the issue:
./configure --toolchain=msvc --as=nasm --enable-ffmpeg --disable-everything
--enable-decoder=vvc --enable-parser=vvc --enable-demuxer=vvc,mpegts
--enable-protocol=file
Add proper deallocations in the error paths to avoid potential memory leaks.
Fixes: 1e0c75ea16 ("examples/hw_decode: Add a HWAccel decoding example.")
Signed-off-by: Jiasheng Jiang
---
doc/examples/hw_decode.c | 48 +++-
1 file changed, 33 insertions(+), 15 de
PR #20138 opened by Kacper Michajłow (kasper93)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20138
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20138.patch
They are used to process tail, so it's still good to have them faster.
Even if AVX version are used.
GCC 14.2.0 | x86_64 (defau
Le 5 août 2025 14:56:18 GMT+07:00, Peter Enderborg a écrit :
>This fixes two old TODO's in ipv6 multicast handling.
>A helper function to iterate over all interfaces added to
>help join the multicast group on interface if approperite.
>
>The default value is IN6ADDR_ANY (::) and it then joins al
Add proper deallocations in the error paths to avoid potential memory leaks.
Fixes: e7dfaf16a4 ("libavfilter: example audio filtering program")
Signed-off-by: Jiasheng Jiang
---
doc/examples/filter_audio.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/doc/examples/f
Add check for the return value of av_packet_alloc() to avoid potential NULL
pointer dereference.
Moreover, replace redundant av_free() with fprintf().
Fixes: 9a38184a14 ("examples/decode_audio: allocate the packet dynamically")
Signed-off-by: Jiasheng Jiang
---
Changelog:
v2 -> v3:
1. Remove w
Jiasheng Jiang (HE12025-08-06):
> Add check for the return value of av_packet_alloc() to avoid potential NULL
> pointer dereference.
> Moreover, replace redundant av_free() with fprintf().
>
> Fixes: 9a38184a14 ("examples/decode_audio: allocate the packet dynamically")
> Signed-off-by: Jiasheng J
Jiasheng Jiang (HE12025-08-06):
> Add check for the return value of av_packet_alloc() to avoid potential NULL
> pointer dereference.
> Moreover, replace redundant av_free() with fprintf().
>
> Fixes: 9a38184a14 ("examples/decode_audio: allocate the packet dynamically")
This one looks good to me,
PR #20135 opened by Gyan Doshi (GyanD)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20135
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20135.patch
>From 193f389793c9e7996a1a60d93fc89cde1acddf8b Mon Sep 17 00:00:00 2001
From: Gyan Doshi
Date: Wed, 6 Aug 2025 18:28:16 +0530
Subject:
PR #20136 opened by Jan Ekström (jeeb)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20136
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20136.patch
This enables pushing TTML together with another track (usually video)
as part of CMAF Ingest, as defined by the DASH-IF Live Media Ingest
PR #20134 opened by michaelni
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20134
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20134.patch
>From 74eb5aad285ed8174c70248153fca84f0b4f2248 Mon Sep 17 00:00:00 2001
From: Michael Niedermayer
Date: Wed, 6 Aug 2025 12:49:49 +0200
Subject:
Hi
On Wed, Aug 06, 2025 at 08:51:01AM +0200, Alexander Strasser via ffmpeg-devel
wrote:
> On 2025-08-06 00:37 +0200, Michael Niedermayer wrote:
> >
> > On Mon, Aug 04, 2025 at 10:15:53PM +0200, Alexander Strasser via
> > ffmpeg-devel wrote:
> [...]
> > >
> > > If I understand the original poin
PR #20133 opened by dkozinski
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20133
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20133.patch
- Added APV decoder wrapper
- Changes in project configuration file and libavcodec Makefile
- Added documentation for APV decoder wrapper
Signed-
Hi all
theres been a surge of new issues being reported in recent days.
And its affecting release schedule a bit
People having access to ffmpeg-security or ossfuzz, are welcome to
help with fixing them.
(general rule is check ML for the testcase filename, before working on a case
or just ask me
PR #20132 opened by Niklas Haas (haasn)
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20132
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20132.patch
This histogram index was not correctly downshifted to 8-bit.
>From 651ce7dbc9cb88ab01002867ddb5b44a6f17a647 Mon Sep 17 00:00:00 2001
F
PR #20131 opened by michaelni
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20131
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20131.patch
>From c7c16002ea3f9d6f284b61c7e5d4dc3fc9d1410a Mon Sep 17 00:00:00 2001
From: Michael Niedermayer
Date: Tue, 5 Aug 2025 23:18:47 +0200
Subject:
Alexander Strasser via ffmpeg-devel (HE12025-08-06):
> I'm a bit undecided about this; especially because these are example files.
>
> Best would be to have them correct, small, and beautiful while still
> promoting good C practices.
Good C practices are verbose, and verbosity makes for poor exam
PR #20130 opened by michaelni
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20130
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20130.patch
>From 92a9948ae44ac4cee869c239b2a3667e2d36ac63 Mon Sep 17 00:00:00 2001
From: Michael Niedermayer
Date: Wed, 6 Aug 2025 10:08:14 +0200
Subject:
On 2025-08-05 22:18 +0200, Nicolas George wrote:
> Jiasheng Jiang (HE12025-08-05):
> > Moreover, replace with proper error handling to avoid potential memory leak.
>
> There is no potential memory leak with exit().
>
> And it does not have to be a lesson in good C practices.
I'm a bit undecided
Rémi Denis-Courmont (HE12025-08-06):
> But it is exclusionary, as not everyone can get a working reputable
> outbound SMTP server.
It has already been said time and again that it is not a
requirement to participate. The only requirement is the ability to send
and receive mail.
--
Nicolas Geor
On Wed, 6 Aug 2025, Rémi Denis-Courmont wrote:
FWIW I don't really care personally but judging by the original author
and their affiliation, the intent was most probably to enable this for
RISC-V / RVA23.
On that platform it is *probably* safe to enable vectorisation on all
GCC versions but
45 matches
Mail list logo