This is an alternative to
https://ffmpeg.org/pipermail/ffmpeg-devel/2025-June/345575.html.
Andreas Rheinhardt (4):
avcodec/avcodec: Check sample_rate generically
avcodec/wma,wmaprodec: Remove always-false checks
avcodec/wma: Remove redundant nb_channels check
avcodec/wmaprodec: Avoid branc
From: Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt
---
libavcodec/wmaprodec.c | 15 +++
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/libavcodec/wmaprodec.c b/libavcodec/wmaprodec.c
index 7f3dc7fd8b..d87ed0433e 100644
--- a/libavcodec/wmaprodec.c
+++ b/libavc
Fixes: libavcodec/mss2dsp.c:59:14: runtime error: applying zero offset to null
pointer
Signed-off-by: James Almer
---
Untested, as gcc-usan on Linux x86_64 doesn't complain about it, but it can be
seen in
https://fate.ffmpeg.org/report.cgi?time=20250622122557&slot=amd64-clang-cl-msvc-asan
lib
Patch attached.
- Andreas
From e2b8892a583a09ca4aa607af8813b4947c2e6fc1 Mon Sep 17 00:00:00 2001
From: Andreas Rheinhardt
Date: Mon, 23 Jun 2025 12:41:36 +0200
Subject: [PATCH] avcodec/g728dec: Remove AVCodec.sample_fmts
It is unnecessary for decoders (they just set
AVCodecContext.sample_fmt). T
On Tue, Jun 17, 2025 at 03:17:23AM +0200, Michael Niedermayer wrote:
> Fixes: negation of -2147483648 cannot be represented in type 'int'; cast to
> an unsigned type to negate this value to itself
> Fixes:
> 410109093/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_OSQ_fuzzer-6550900028276736
>
On Wed, Jun 18, 2025 at 02:44:21AM +0200, Michael Niedermayer wrote:
> On Wed, Jun 18, 2025 at 09:14:40AM +1000, Peter Ross wrote:
> > On Tue, Jun 17, 2025 at 10:32:16PM +0200, Michael Niedermayer wrote:
> > > Signed-off-by: Michael Niedermayer
> > > ---
> > > libavcodec/osq.c | 2 ++
> > > 1 fil
On Fri, Jun 20, 2025 at 12:28:13AM +0200, Andreas Rheinhardt wrote:
> 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
Hi Manuel
On Thu, Jun 19, 2025 at 05:04:30AM +0200, Michael Niedermayer wrote:
> Fixes:
> 410609432/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SANM_fuzzer-4935159201988608
> Fixes: out of array access
>
> Found-by: continuous fuzzing process
> https://github.com/google/oss-fuzz/tree/mast
On 6/23/2025 9:44 AM, Michael Niedermayer wrote:
On Fri, Jun 20, 2025 at 12:28:13AM +0200, Andreas Rheinhardt wrote:
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
On Thu, Jun 19, 2025 at 05:04:29AM +0200, Michael Niedermayer wrote:
> Fixes: Timeout
> Fixes:
> 410324670/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RV60_fuzzer-5697706586865664
>
> Found-by: continuous fuzzing process
> https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
> Si
Michael Niedermayer writes:
> does the other return in config_output() not need this free too?
>
I believe all the other return behind fir_to_phase() has called
av_free(h[longer])
already. I would love to add this message to my next patch series.
Thanks,
Lidong
_
Michael Niedermayer writes:
> this can be factored like:
>
> like
> +ret = 0;
> fail:
> +for (i = 0; i < s->nb_streams; i++)
> +if (contexts[i])
> +av_free(contexts[i]->url);
> av_free(contexts);
> + if (ret < 0)
> sap_write_close(s);
>
Yeah this lo
James Almer:
> On 6/23/2025 9:44 AM, Michael Niedermayer wrote:
>> On Fri, Jun 20, 2025 at 12:28:13AM +0200, Andreas Rheinhardt wrote:
>>> Michael Niedermayer:
Fixes: Assertion n>=0 && n<=32 failed at ./libavcodec/get_bits.h:406
Fixes: 398527871/clusterfuzz-testcase-minimized-
ffmpeg
From: Andreas Rheinhardt
It is unused (because unquantizing/the idct has been disabled)
apart from FF_DEBUG_DCT_COEFF debug code which makes no sense
when this function is called via error resilience. So pass a NULL
as block when calling ff_mpv_reconstruct_mb() from mpeg_er_decode_mb()
and disabl
From: Andreas Rheinhardt
Also use dedicated variables for the accesses.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/mpegvideo_dec.c | 21 -
1 file changed, 12 insertions(+), 9 deletions(-)
diff --git a/libavcodec/mpegvideo_dec.c b/libavcodec/mpegvideo_dec.c
index c687
From: Andreas Rheinhardt
This allows to hint to the compiler that the branch is likely
not taken by marking the factored out function as av_cold.
It is also in preparation for further commits.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/mpegvideo_dec.c | 26 +++---
1 f
From: Andreas Rheinhardt
MpegEncContext is also used for decoding, so it is a misnomer.
This commit therefore adds MPVContext as typedef for it in order
to gradually switch the code to the new name (in line with
MPVEncContext).
Signed-off-by: Andreas Rheinhardt
---
libavcodec/mpegvideo.h | 1 +
From: Andreas Rheinhardt
This is in preparation for no longer using MpegEncContext.gb.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/mpeg12dec.c | 192 ++---
1 file changed, 102 insertions(+), 90 deletions(-)
diff --git a/libavcodec/mpeg12dec.c b/libavco
From: Andreas Rheinhardt
This is in preparation for removing said field from MpegEncContext.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/h261dec.c | 80 +++-
1 file changed, 41 insertions(+), 39 deletions(-)
diff --git a/libavcodec/h261dec.c b/liba
From: Andreas Rheinhardt
Instead put it into H261DecContext. This is in preparation
for removing MpegEncContext.block.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/h261dec.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/libavcodec/h261dec.c b/libavcodec/h2
From: Andreas Rheinhardt
In the common case of decoding 420 content, only six blocks are used
and it makes perfect sense for the caller to only have that many.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/mpegvideo_dec.c | 2 +-
libavcodec/mpegvideodec.h | 2 +-
2 files changed, 2 inserti
From: Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt
---
libavcodec/mpeg12dec.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mpeg12dec.c
index ec8b213206..a056dd87cc 100644
--- a/libavcodec/mpeg12dec.c
+++ b/libavcodec/mpeg12
From: Andreas Rheinhardt
Add a GetBitContext to VC1Context instead. This is in preparation
for removing MpegEncContext.gb.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/dxva2_vc1.c | 2 +-
libavcodec/mss2.c | 4 +-
libavcodec/vaapi_vc1.c | 2 +-
libavcodec/vc1.c | 14 +++
From: Andreas Rheinhardt
This is in preparation for removing MpegEncContext.gb.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/rv30.c | 2 +-
libavcodec/rv34.c | 28 ++--
libavcodec/rv34.h | 2 ++
libavcodec/rv40.c | 2 +-
4 files changed, 18 insertions(+), 16 dele
From: Andreas Rheinhardt
These decoders only need a single 4x4 block; put it in RV34DecContext.
This is in preparation for removing MpegEncContext.block.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/rv34.c | 7 +++
libavcodec/rv34.h | 1 +
2 files changed, 4 insertions(+), 4 deletions(
From: Andreas Rheinhardt
Intrax8 needs only a single block.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/intrax8.c | 16
libavcodec/intrax8.h | 4 ++--
libavcodec/vc1dec.c | 2 +-
libavcodec/wmv2dec.c | 2 +-
4 files changed, 12 insertions(+), 12 deletions(-)
diff --g
From: Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt
---
libavcodec/motion_est.c| 4 ++--
libavcodec/motion_est.h| 1 +
libavcodec/mpegvideo.h | 1 -
libavcodec/mpegvideo_enc.c | 18 +-
libavcodec/rv20enc.c | 2 +-
libavcodec/snowenc.c | 2 +-
From: Andreas Rheinhardt
Instead add the necessary blocks directly to VC1Context
(only six are needed, not 12 as ff_mpv_common_init()
currently allocates).
Signed-off-by: Andreas Rheinhardt
---
libavcodec/vc1.h | 4
libavcodec/vc1_block.c | 28 ++--
libavcod
From: Andreas Rheinhardt
The code in h263dec.c is not supposed to know that the MPEG-4
decoder uses an Mpeg4DecContext as private context at all
(said context is only exposed in a header so that hardware
accelerations can access it and for the parser to use).
Passing an MPVContext* directly also
From: Andreas Rheinhardt
Forgotten in 9964212545554d9ae1afaabd23a7f9a361997d01.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/mpegvideo.h | 1 -
libavcodec/mpegvideo_enc.c | 14 +++---
libavcodec/mpegvideoenc.h | 1 +
libavcodec/msmpeg4dec.c| 8
libavcodec/msmpe
From: Andreas Rheinhardt
This situation was created in merge commit
71d008ebe4f96974433eecfd3575bc82eb4b06a8.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/mpeg12dec.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mpeg12dec.c
index
LGTM.
> On Jun 23, 2025, at 13:31, Wang Bin wrote:
>
> <0001-avdevice-android_camera-image-linesize-aligment-is-1.patch>___
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, vi
Hi Pavel
On Tue, Jun 17, 2025 at 11:05:55AM -0700, Pavel Roslyy wrote:
> Need to skip 2 more bytes because comp sections are 12 bytes long.
> Fixes decryption since ciph_type is now being set.
>
> Signed-off-by: Pavel Roslyy
> ---
> libavcodec/hcadec.c | 1 +
> 1 file changed, 1 insertion(+)
w
On Mon, Jun 23, 2025 at 04:19:52PM +0200, Michael Niedermayer wrote:
> On Mon, Jun 23, 2025 at 09:47:55AM -0300, James Almer wrote:
> > On 6/23/2025 9:44 AM, Michael Niedermayer wrote:
> > > On Fri, Jun 20, 2025 at 12:28:13AM +0200, Andreas Rheinhardt wrote:
> > > > Michael Niedermayer:
> > > > > F
On Fri, Jun 20, 2025 at 02:32:51AM +0200, Michael Niedermayer wrote:
> 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
> Sig
On Sun, Jun 22, 2025 at 02:40:23PM +1000, Peter Ross wrote:
> On Sat, Jun 21, 2025 at 11:15:20PM +0200, Michael Niedermayer wrote:
> > Fixes: division by 0
> > Fixes:
> > 418396712/clusterfuzz-testcase-minimized-ffmpeg_dem_IFF_fuzzer-6104388018176000
> > Fixes:
> > 418478219/clusterfuzz-testcase-
On 6/21/2025 6:15 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
On Thu, Jun 19, 2025 at 11:37:43AM +0200, Timothée wrote:
> 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 extend
Hi
On Tue, Jun 17, 2025 at 10:14:14PM +0800, Lidong Yan wrote:
> In config_input(), fir_to_phase() allocates memory in h[longer].
> But if av_calloc() to s->coeffs failed, memory in h[longer] would
> leak. Add av_free(h[longer]) in !s->coeffs path.
does the other return in config_output() not nee
From: nyanmisaka
---
configure | 1 +
libavcodec/Makefile| 1 +
libavcodec/allcodecs.c | 1 +
libavcodec/amfdec.c| 16
4 files changed, 15 insertions(+), 4 deletions(-)
diff --git a/configure b/configure
index f76f946dfe..fcc0af5681 100755
--- a/configur
From: Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt
---
libavcodec/ituh263dec.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavcodec/ituh263dec.c b/libavcodec/ituh263dec.c
index f1f96010b2..95cd8f0b13 100644
--- a/libavcodec/ituh263dec.c
+++ b/libavcodec/ituh2
This patchset adds a H263DecContext and moves the fields of MpegEncContext
that are only used by the H.263-based decoders (those using h263dec.c) to
it. It also adds a special slice context for the MPEG-1/2 decoders and moves
the GetBitContext from MpegEncContext to the actual decoder contexts (no
From: Andreas Rheinhardt
Only very few combinations (2x102) of 16384 correspond to
valid codes; so just initialize all codes via memset
and then set the few valid codes explicitly instead of initializing
everything in the same way.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/h263data.h
From: Andreas Rheinhardt
This avoids mpegvideo.c having to deal with the fact that
the encoders use two sets of blocks and is in preparation
for not allocating blocks at all.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/h263enc.h | 2 +-
libavcodec/mpeg4videodec.c | 1 -
libavcodec
From: Andreas Rheinhardt
This uses the same logic as the MPEG-1/2 and SpeedHQ encoders.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/rl.h | 6 +-
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/libavcodec/rl.h b/libavcodec/rl.h
index c45d8659d1..2588de2440 100644
--- a/lib
From: Andreas Rheinhardt
The H.263 decoder itself does not need max_run/max_level
of this RLTable, only the MPEG-4 decoder does.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/ituh263dec.c| 1 -
libavcodec/mpeg4videodec.c | 1 +
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git
From: Andreas Rheinhardt
Add a GetBitContext to H263DecContext instead. This is in preparation
for removing MpegEncContext.gb.
Also move last_resync_gb to H263DecContext.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/flvdec.c| 24 +--
libavcodec/h263dec.c | 52 +++---
libavc
From: Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt
---
libavcodec/h261dec.c | 4
libavcodec/h263dec.h | 4
libavcodec/mpegvideo.h | 5 -
3 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/libavcodec/h261dec.c b/libavcodec/h261dec.c
index e47bc00a71..32d4190
From: Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt
---
libavcodec/h261enc.c | 12 ++--
libavcodec/mpeg12enc.c | 8
libavcodec/mpegvideo.h | 1 -
libavcodec/mpegvideo_enc.c | 11 ++-
libavcodec/mpegvideoenc.h | 2 ++
libavcodec/rv34.c |
From: Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt
---
libavcodec/h263dec.h | 2 ++
libavcodec/ituh263dec.c| 2 +-
libavcodec/mpeg4videodec.c | 4 ++--
libavcodec/mpegvideo.h | 1 -
libavcodec/rv10.c | 2 +-
libavcodec/rv34.c | 16
l
From: Andreas Rheinhardt
Will avoid a forward declaration lateron.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/msmpeg4dec.c | 79 +
1 file changed, 40 insertions(+), 39 deletions(-)
diff --git a/libavcodec/msmpeg4dec.c b/libavcodec/msmpeg4dec.c
ind
From: Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt
---
libavcodec/mpeg12dec.c | 23 +++
1 file changed, 11 insertions(+), 12 deletions(-)
diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mpeg12dec.c
index db6f9d66a5..998f6aa2e5 100644
--- a/libavcodec/mpeg12dec.c
++
From: Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt
---
libavcodec/flvdec.c| 6 +--
libavcodec/flvenc.c| 2 +-
libavcodec/h261enc.c | 2 +-
libavcodec/h263dec.c | 14 +++
libavcodec/h263dec.h | 14 +++
libavcodec/intelh263dec.c | 4 +-
libav
From: Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt
---
libavcodec/h263dec.c | 27 ++-
libavcodec/h263dec.h | 8 +++-
libavcodec/mpeg4videodec.c | 3 ++-
libavcodec/mpeg4videodec.h | 1 -
libavcodec/msmpeg4dec.c| 8 +---
libavcodec/msmp
From: Andreas Rheinhardt
It is always two when we encode FLV1.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/flvenc.c| 2 +-
libavcodec/ituh263enc.c| 12
libavcodec/mpegvideo_enc.c | 1 -
3 files changed, 5 insertions(+), 10 deletions(-)
diff --git a/libavcodec/f
From: Andreas Rheinhardt
It used to be a tri-state encoding both whether to use FLV picture
headers and whether to use the FLV way of encoding escape values,
but the former is now unnecessary due to the switch to a function
pointer for reading the header. So binarize h263_flv.
Signed-off-by: And
From: Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt
---
libavcodec/mpeg4videodec.c | 25 ++---
libavcodec/mpeg4videodec.h | 1 +
libavcodec/mpegvideo.h | 1 -
3 files changed, 15 insertions(+), 12 deletions(-)
diff --git a/libavcodec/mpeg4videodec.c b/libavcode
From: Andreas Rheinhardt
Instead add the necessary blocks directly to H263DecContext
(only six are needed, not 12 as ff_mpv_common_init()
currently allocates).
Signed-off-by: Andreas Rheinhardt
---
libavcodec/h263dec.c | 4 ++--
libavcodec/h263dec.h | 3 +++
libavcodec/ituh263dec
From: Andreas Rheinhardt
With the exception of mpeg4_decode_studio_mb(), all decode_mb
functions implicitly presumed that the block provided as
argument coincides with MpegEncContext.block (they zeroed the latter
and then used the former to decode the block); mpeg4_decode_studio_mb()
meanwhile di
From: Andreas Rheinhardt
This basically reverts d4967c04e040b3b2f937cad88599af825147ec94.
Said commit was based on the false premise that it would
be an aliasing violation to upcast a pointer to structure
to a pointer to a bigger structure containing the original
structure as its first element, b
From: Andreas Rheinhardt
This is in preparation for removing the GetBitContext
from MPVContext.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/mpeg12dec.c | 863 +
libavcodec/mpegvideo.c | 2 +-
libavcodec/mpegvideo.h | 1 +
3 files changed, 436 in
From: Andreas Rheinhardt
It was its last user.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/mpeg12dec.c | 207 +
libavcodec/mpegvideo.h | 4 -
2 files changed, 104 insertions(+), 107 deletions(-)
diff --git a/libavcodec/mpeg12dec.c b/libavcodec/mp
From: Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt
---
libavcodec/flvdec.c| 4 ++--
libavcodec/h263dec.c | 28 +-
libavcodec/h263dec.h | 20 +++
libavcodec/intelh263dec.c | 8
libavcodec/ituh263dec.c| 40 +++
From: Andreas Rheinhardt
These files currently rely on implicit inclusions of avassert.h
and/or mathops.h via get_bits.h.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/error_resilience.c | 2 ++
libavcodec/me_cmp.c| 1 +
libavcodec/mips/mpegvideo_msa.c|
From: Andreas Rheinhardt
Instead add the necessary blocks directly into Mpeg12SliceContext.
This allows to completely remove MPVContext.block.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/mpeg12dec.c | 40 --
libavcodec/mpeg4videodec.c | 1 -
libavc
From: Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt
---
libavcodec/dxva2_vc1.c | 4 ++--
libavcodec/h261enc.c | 4 ++--
libavcodec/h263dec.c | 4 ++--
libavcodec/h263dec.h | 1 +
libavcodec/intelh263dec.c | 2 +-
libavcodec/ituh263dec.c| 8
libav
From: Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt
---
libavcodec/h263dec.c | 16
libavcodec/h263dec.h | 1 +
libavcodec/mpeg4videodec.c | 10 +-
libavcodec/mpeg4videoenc.c | 2 +-
libavcodec/mpegvideo.h | 1 -
libavcodec/mpegvideo_enc.c | 10
From: Andreas Rheinhardt
ff_mpv_frame_end() already does it.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/rv34.c | 4
1 file changed, 4 deletions(-)
diff --git a/libavcodec/rv34.c b/libavcodec/rv34.c
index 4feab95eb5..bd8800ee5d 100644
--- a/libavcodec/rv34.c
+++ b/libavcodec/rv34.c
From: Andreas Rheinhardt
Instead of setting these unconditionally (they are always zero
for H.261, MPEG-1/2, RV30/40, VC-1), add a variant of
ff_mpeg_er_frame_start() that sets them and remove setting them
from ff_mpeg_er_frame_start(). Also pass these values via parameters
instead of reading the
From: Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt
---
libavcodec/rv34.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/rv34.c b/libavcodec/rv34.c
index bd8800ee5d..f78b91e7df 100644
--- a/libavcodec/rv34.c
+++ b/libavcodec/rv34.c
@@ -1800,7 +1800,7 @@ in
This patch adds support for the texture array feature
used by AMD boards in the D3D12 HEVC encoder.
In texture array mode, a single texture array is shared for all
reference and reconstructed pictures using different subresources.
The implementation ensures compatibility
and has been successfully t
---
useful for re'ing files with extradata
tools/pktdumper.c | 28 ++--
1 file changed, 26 insertions(+), 2 deletions(-)
diff --git a/tools/pktdumper.c b/tools/pktdumper.c
index c51f5c8922..d7d3147b22 100644
--- a/tools/pktdumper.c
+++ b/tools/pktdumper.c
@@ -37,6 +37,7
> On Jun 21, 2025, at 12:58, Zhao Zhili
> wrote:
>
>
>
>> On Jun 21, 2025, at 10:15, Jack Lau
>> wrote:
>>
>>
>>
>>> On Jun 13, 2025, at 16:56, Jack Lau via ffmpeg-devel
>>> wrote:
>>>
>>>
>>> From: Jack Lau
>>> Subject: [PATCH v3 1/3] avformat/whip: replace AV_OPT_FLAG_DECODING_PA
On Mon, Jun 23, 2025 at 09:47:55AM -0300, James Almer wrote:
> On 6/23/2025 9:44 AM, Michael Niedermayer wrote:
> > On Fri, Jun 20, 2025 at 12:28:13AM +0200, Andreas Rheinhardt wrote:
> > > Michael Niedermayer:
> > > > Fixes: Assertion n>=0 && n<=32 failed at ./libavcodec/get_bits.h:406
> > > > Fix
On 6/23/2025 9:57 AM, Andreas Rheinhardt wrote:
James Almer:
On 6/23/2025 9:44 AM, Michael Niedermayer wrote:
On Fri, Jun 20, 2025 at 12:28:13AM +0200, Andreas Rheinhardt wrote:
Michael Niedermayer:
Fixes: Assertion n>=0 && n<=32 failed at ./libavcodec/get_bits.h:406
Fixes: 398527871/clusterf
Signed-off-by: Nicolas Gaullier
---
tests/fate/api.mak | 2 +-
tests/fate/cbs.mak | 2 +-
tests/fate/ffmpeg.mak | 6 +++---
tests/fate/filter-audio.mak | 8
tests/fate/filter-video.mak | 2 +-
tests/fate/fits.mak | 4 ++--
tests/fate/gif.mak | 2 +
Signed-off-by: Nicolas Gaullier
---
tests/fate/pcm.mak | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/tests/fate/pcm.mak b/tests/fate/pcm.mak
index b10233a9eb..75636118b2 100644
--- a/tests/fate/pcm.mak
+++ b/tests/fate/pcm.mak
@@ -1,4 +1,4 @@
-FATE_SAMPLES_PCM-$
Signed-off-by: Nicolas Gaullier
---
tests/fate/ac3.mak | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/tests/fate/ac3.mak b/tests/fate/ac3.mak
index e52678a2fd..30f8b98ff1 100644
--- a/tests/fate/ac3.mak
+++ b/tests/fate/ac3.mak
@@ -65,17 +65,17 @@ fate-eac3-5: REF
Signed-off-by: Nicolas Gaullier
---
tests/fate/hlsenc.mak | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/tests/fate/hlsenc.mak b/tests/fate/hlsenc.mak
index 98341b2b81..72c75bec3a 100644
--- a/tests/fate/hlsenc.mak
+++ b/tests/fate/hlsenc.mak
@@ -5,7 +5,7 @
Signed-off-by: Nicolas Gaullier
---
tests/fate/mpeg4.mak | 11 +--
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/tests/fate/mpeg4.mak b/tests/fate/mpeg4.mak
index 9a3cd4e2fb..d6cce97a70 100644
--- a/tests/fate/mpeg4.mak
+++ b/tests/fate/mpeg4.mak
@@ -3,23 +3,22 @@ MPEG4_RE
Signed-off-by: Nicolas Gaullier
---
tests/fate/hevc.mak | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/fate/hevc.mak b/tests/fate/hevc.mak
index 3ad6e255a9..7b22e36a3d 100644
--- a/tests/fate/hevc.mak
+++ b/tests/fate/hevc.mak
@@ -219,7 +219,7 @@ FATE_HEVC-$(cal
Signed-off-by: Nicolas Gaullier
---
tests/fate/cover-art.mak | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/tests/fate/cover-art.mak b/tests/fate/cover-art.mak
index faa2182745..7ee9443864 100644
--- a/tests/fate/cover-art.mak
+++ b/tests/fate/cover-art.mak
@
Signed-off-by: Nicolas Gaullier
---
tests/fate/lavf-container.mak | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/fate/lavf-container.mak b/tests/fate/lavf-container.mak
index 6a46f98b5d..395b97b492 100644
--- a/tests/fate/lavf-container.mak
+++ b/tests/fate/lavf-c
Signed-off-by: Nicolas Gaullier
---
tests/fate/mov.mak | 38 ++
1 file changed, 22 insertions(+), 16 deletions(-)
diff --git a/tests/fate/mov.mak b/tests/fate/mov.mak
index a21b024015..8d4077da66 100644
--- a/tests/fate/mov.mak
+++ b/tests/fate/mov.mak
@@ -1,4
Signed-off-by: Nicolas Gaullier
---
tests/fate/gapless.mak | 76 +-
1 file changed, 38 insertions(+), 38 deletions(-)
diff --git a/tests/fate/gapless.mak b/tests/fate/gapless.mak
index dfae964662..e6fba1436b 100644
--- a/tests/fate/gapless.mak
+++ b/tests/
Signed-off-by: Nicolas Gaullier
---
tests/fate/vorbis.mak | 24 +---
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/tests/fate/vorbis.mak b/tests/fate/vorbis.mak
index 781430bcd3..73e837f5a6 100644
--- a/tests/fate/vorbis.mak
+++ b/tests/fate/vorbis.mak
@@ -1,
Fixes: libavcodec/put_bits.h:232:32: runtime error: shift exponent -19 is
negative
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
Signed-off-by: Nicolas Gaullier
---
tests/fate/aac.mak | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/tests/fate/aac.mak b/tests/fate/aac.mak
index f5a41458e6..48a4410d6c 100644
--- a/tests/fate/aac.mak
+++ b/tests/fate/aac.mak
@@ -241,21 +241,21 @@ fate-aac-la
V2
==
* Fix MSVC build
(use the universal command pattern)
V3
==
* Skip dependency generation by clearing CC_DEPS instead
(as suggested by Ramiro - thanks!)
V4
==
* Always keep .ptx files (as suggested by Timo - thanks) Tested all
scenarios:
* .ptx.c and .ptx.gz still get de
From: softworkz
This commit simplifies and consolidates all the rules around
ptx and resource file compression.
Signed-off-by: softworkz
---
ffbuild/common.mak | 43 +--
1 file changed, 17 insertions(+), 26 deletions(-)
diff --git a/ffbuild/common.mak b
From: softworkz
Signed-off-by: softworkz
---
ffbuild/common.mak | 6 ++
fftools/Makefile | 1 +
fftools/resources/Makefile | 12 +---
3 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/ffbuild/common.mak b/ffbuild/common.mak
index ddf48923ea..81e8a46
From: softworkz
Signed-off-by: softworkz
---
fftools/resources/.gitignore | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/fftools/resources/.gitignore b/fftools/resources/.gitignore
index bda2c59a1c..cc742817b5 100644
--- a/fftools/resources/.gitignore
+++ b/fftools/res
---
tests/fate/concatdec.mak | 2 +-
tests/fate/demux.mak | 16
tests/fate/flvenc.mak | 2 +-
tests/fate/h264.mak | 8 +---
tests/fate/hevc.mak | 4 ++--
tests/fate/lavf-container.mak | 8
tests/fate/segment.mak|
Signed-off-by: Nicolas Gaullier
---
tests/fate/enc_external.mak | 6 +++---
tests/fate/lavf-container.mak | 2 +-
tests/fate/mov.mak| 14 +++---
tests/fate/subtitles.mak | 2 +-
4 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/tests/fate/enc_external.
For remembering
https://ffmpeg.org/pipermail/ffmpeg-devel/2024-October/335422.html
This v2 is a "full rebase", which means
some problems have been fixed in the while (not many),
some others are new.
Nicolas Gaullier (20):
tests/Makefile: make easier to check for multiple dependencies
fate/all
---
tests/Makefile | 16
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/tests/Makefile b/tests/Makefile
index 505d7f9c6d..7187b744cb 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -97,21 +97,21 @@ TRANSCODE = $(call ALLYES, $(firstword $(1))_ENCODER
$(lastword
From: Niklas Haas
After 3b26b782ee, `ebur128->true_peak` was only set to the maximum of the
current "true peak per frame" values, when it should report the true peak for
the entire stream.
Fixes: 3b26b782eeded9b9ab7fac013cd1a83a30d68206
---
libavfilter/f_ebur128.c | 4 +++-
1 file changed, 3 in
This helps reduce queue usage even further.
---
libavutil/hwcontext_vulkan.c | 22 --
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c
index 88145ef2d0..f31020c416 100644
--- a/libavutil/hwcontext_vulkan.
Hi Derek
You said
"The only mails you'll see from me in the future are code or reviews."
On Mon, Jun 23, 2025 at 09:20:56PM +0100, Derek Buitenhuis wrote:
> This was pushed with outstanding reservations,
there where 2 comments in one mail but no objection
The first was about SPI and taxes
--- Begin Message ---
Apologies for the late reply.
Yeah, the other solution to solve this problem is to sprinkle .gotpcrel all
over the x86 assembly whenever it tries to access a variable that's defined
in the C file.
Using `attribute(small)`, as in this patch, is behind a macro that implies
tha
1 - 100 of 123 matches
Mail list logo