James Almer:
> FFFormatContext.packet_buffer is used in mux.c, and if a muxing process fails
> at a
> point where packets remained in said queue, they will leak.
>
> Fixes ticket #11419
>
> Signed-off-by: James Almer
> ---
> libavformat/avformat.c | 3 +--
> 1 file changed, 1 insertion(+), 2 d
Andreas Rheinhardt:
> Patches attached
>
Will apply these patches and my two others tomorrow unless there are
objections.
- Andreas
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsub
James Almer:
> No point using av_fast_realloc() in a loop when we want to allocate all
> entries to begin with, and any duplicate stts/ctts will just replace the
> old arrays.
> Furthermore, these are temporary arrays that will be merged into tts_data
> when building the index.
>
> Signed-off-by:
James Almer:
> if sc->tts_count is 0, this condition will wrap around to UINT_MAX and the
> code will try to dereference a NULL pointer.
>
> Fixes ticket #11417
>
> Signed-off-by: James Almer
> ---
> libavformat/mov.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib
Niklas Haas:
> From: Niklas Haas
>
> Fixes: c601bb8df5ae
> Signed-off-by: Niklas Haas
> ---
> tests/checkasm/sw_rgb.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tests/checkasm/sw_rgb.c b/tests/checkasm/sw_rgb.c
> index 5714bfaa1e..042102fa73 100644
> --- a/tes
Patch attachedFrom 1abad60fe2eba199845db35c92e27dbc4d35b93f Mon Sep 17 00:00:00 2001
From: Andreas Rheinhardt
Date: Sun, 12 Jan 2025 20:40:31 +0100
Subject: [PATCH] fftools/ffmpeg_opt: Remove audio_drift_threshold
Forgotten in 5a04aae82193d75b8f8814dc7e35f4cc84b1beba.
Signed-off-by: Andreas
Patch attachedFrom 4f36a9abe91637a63fa4d0c647361efd1d75c92d Mon Sep 17 00:00:00 2001
From: Andreas Rheinhardt
Date: Sun, 12 Jan 2025 20:01:22 +0100
Subject: [PATCH] avutil/cpu: Disable ff_getauxval() on x86
Not used there.
Signed-off-by: Andreas Rheinhardt
---
libavutil/cpu.c | 2 ++
1 file
Patches attachedFrom 0c6e52fee3a2d8335e2b31f180811f2c02a89603 Mon Sep 17 00:00:00 2001
From: Andreas Rheinhardt
Date: Sun, 12 Jan 2025 19:43:12 +0100
Subject: [PATCH 1/2] swscale/x86/swscale: Move some constants to rgb2rgb.c
ff_w and ff_bgr2(Y|UV)Offset are only used there
(and only on x86
Peter Ross:
> ---
> libavcodec/Makefile | 1 +
> libavcodec/allcodecs.c | 1 +
> libavcodec/codec_desc.c | 7 ++
> libavcodec/codec_id.h | 1 +
> libavcodec/g728data.h | 70 +
> libavcodec/g728dec.c| 213
> libavcodec/utils
Michael Niedermayer:
> On Thu, Jan 09, 2025 at 03:47:39AM +0100, Andreas Rheinhardt wrote:
>> Patch attached
>
>> configure |6
>> libavfilter/aeval.c | 19
>> libavfilter/af_aap.c| 12
Andreas Rheinhardt:
> Patch attached
>
>
> ___
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-r
Marton Balint:
> Make the checker functions available for all codecs.
>
> Signed-off-by: Marton Balint
> ---
> libavcodec/encode.c| 19 +++
> libavcodec/encode.h| 9 +
> libavcodec/mpegvideo_enc.c | 8
> 3 files changed, 36 insertions(+)
>
> di
James Almer:
> This will be used to propagate global side data through the filterchain.
>
> Signed-off-by: James Almer
> ---
> libavfilter/buffersrc.c | 29 +
> libavfilter/buffersrc.h | 3 +++
> 2 files changed, 32 insertions(+)
>
> diff --git a/libavfilter/buffers
Michael Niedermayer:
> On Fri, Dec 20, 2024 at 01:54:30PM +0100, Niklas Haas wrote:
>> From: Niklas Haas
>>
>> Signed-off-by: Niklas Haas
>> Sponsored-by: Sovereign Tech Fund
>> ---
>> tests/checkasm/sw_rgb.c | 308
>> 1 file changed, 308 insertions(+)
>
Patches attachedFrom fb71c0d60ff589969338aff9fce9370cee13a32f Mon Sep 17 00:00:00 2001
From: Andreas Rheinhardt
Date: Thu, 9 Jan 2025 16:50:39 +0100
Subject: [PATCH 1/2] avfilter/vf_xpsnr: Fix leaks
This filter uses the AVBuffer API to allocate buffers that are never
shared at all and frees them
Patch attachedFrom 890b0669c675c33e7d1d93c05d4659e255babe22 Mon Sep 17 00:00:00 2001
From: Andreas Rheinhardt
Date: Thu, 9 Jan 2025 13:57:27 +0100
Subject: [PATCH] tests/checkasm/sw_rgb: Fix leaks
Also use loop-scope for variables where appropriate.
Signed-off-by: Andreas Rheinhardt
---
tests
Patch attachedFrom f2580b0a3041a7b629ecd68cf6862dc57b14aecb Mon Sep 17 00:00:00 2001
From: Andreas Rheinhardt
Date: Wed, 8 Jan 2025 20:16:41 +0100
Subject: [PATCH] avcodec/aac/aacdec: Fix -Wdeclaration-after-statement
Signed-off-by: Andreas Rheinhardt
---
libavcodec/aac/aacdec.c | 4 ++--
1
Patch attachedFrom f2580b0a3041a7b629ecd68cf6862dc57b14aecb Mon Sep 17 00:00:00 2001
From: Andreas Rheinhardt
Date: Wed, 8 Jan 2025 20:16:41 +0100
Subject: [PATCH] avcodec/aac/aacdec: Fix -Wdeclaration-after-statement
Signed-off-by: Andreas Rheinhardt
---
libavcodec/aac/aacdec.c | 4 ++--
1
Patch attachedFrom c12eebac43c0124e6b20821cb57992f7e060ca49 Mon Sep 17 00:00:00 2001
From: Andreas Rheinhardt
Date: Wed, 8 Jan 2025 21:43:57 +0100
Subject: [PATCH 1/2] avfilter/vf_overlay: Remove spec-incompliant ';'
Fixes warnings with -pedantic with GCC and Clang.
Signed-off-b
Patch attachedFrom 15b74964a0f73c4fab8de1e31725f8cab606f513 Mon Sep 17 00:00:00 2001
From: Andreas Rheinhardt
Date: Thu, 9 Jan 2025 02:27:14 +0100
Subject: [PATCH] tests/ref/fate/png-icc-parse: Add lossless flag to ref file
Forgotten in 8a29b4e38d515d4b4b8f30f782497809a54dd0fb
(this test depends
Patch attachedFrom a4f032da79cbb3839aeaad6cf21133c1691d9f58 Mon Sep 17 00:00:00 2001
From: Andreas Rheinhardt
Date: Wed, 8 Jan 2025 21:22:37 +0100
Subject: [PATCH] swscale/cms,graph,lut3d: Use ff_-prefix, don't export
internal functions
Symbols with the sws_* prefix are exported.
Signed-o
Patch attachedFrom 340f4c4d08d8477652573037670c9343ea1e8aef Mon Sep 17 00:00:00 2001
From: Andreas Rheinhardt
Date: Wed, 8 Jan 2025 20:13:37 +0100
Subject: [PATCH] avcodec/sga: Silence -Wunused-but-set-variable warnings
The variables are used, but only inside an av_assert1().
Signed-off-by
Patch attachedFrom 67dd50c448c34028357ae58b55e1692774f033a1 Mon Sep 17 00:00:00 2001
From: Andreas Rheinhardt
Date: Wed, 8 Jan 2025 20:03:21 +0100
Subject: [PATCH] avcodec/aac_ac3_parser: Remove unused variable
Added in 64bb91fd3b5a00a8849531c7e8dd207f2a626096, never used.
Signed-off-by
Sean McGovern:
> Hi Andreas,
>
>
> On Fri, Nov 15, 2024, 14:34 Andreas Rheinhardt <
> andreas.rheinha...@outlook.com> wrote:
>
>> Sean McGovern:
>>> Even on a reasonably modern POWER9 (ppc64le), it does not function
>> correctly.
>>
James Almer:
> From: Justine Tunney
>
> Header contents taken from
> https://github.com/jart/jtckdint/commit/62df1fc0966926299253b7af46c23e345545
>
> Signed-off-by: James Almer
> ---
> compat/stdckdint/stdckdint.h | 663 +++
> tests/ref/fate/source|
Frank Plowman:
> Remove the MMX versions of these functions and modify the SSE
> implementations to avoid using MMX registers.
>
> Signed-off-by: Frank Plowman
> ---
> This wasn't wholly straightforward as the existing SSE implementation did
> not only use SSE but rather a blend of SSE and MMX.
Sean McGovern:
> Even on a reasonably modern POWER9 (ppc64le), it does not function correctly.
IMO the commit message should contain a bit more information about what
doesn't function correctly.
> ---
> libswscale/ppc/Makefile | 1 -
> libswscale/ppc/swscale_altivec.c | 25 -
> libsw
Marvin Scholz:
> The strerror function must not be used here, as the error is a AVERROR
> errno, which depending on the platform no longer corresponds to the
> actual errno that can be handled by strerror.
> ---
> fftools/opt_common.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> di
Martin Schitter:
> This is a second attempt to contribute the corrected code of an
> AVID DNxUncompressed / SMTPE RDD 50 decoder.
>
> Thanks
> Martin
>
> ---
> Changelog | 1 +
> doc/general_contents.texi | 1 +
> libavcodec/Makefile | 1 +
> libavcodec/allcodecs.c
Timo Rothenpieler:
> These can easily lead to incredibly confusing errors, and should
> practically never happen.
> I'd have loved to make this a -Werror even, but sadly there is way too
> many instances in the codebase right now that first needs to be weeded
> out.
IMO these instances would need
Lynne via ffmpeg-devel:
> The issue is that VulkanContext mostly always used the AVClass *
> from its structure, which we don't set in decode.
> ---
> libavcodec/vulkan_decode.c| 2 ++
> libavfilter/vf_avgblur_vulkan.c | 2 ++
> libavfilter/vf_blend_vulkan.c | 2 ++
> libavfilter/
James Almer:
> Fixes ticket #11133
>
> Signed-off-by: James Almer
> ---
> libavcodec/adpcm.c | 5 -
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
> index 8d358bc414..623d33fd02 100644
> --- a/libavcodec/adpcm.c
> +++ b/libavcodec/a
Kacper Michajlow:
> On Fri, 9 Aug 2024 at 22:51, Michael Niedermayer
> wrote:
>>
>> On Wed, Aug 07, 2024 at 03:42:46PM +0200, Kacper Michajłow wrote:
>>> Can happen after calling avformat_find_stream_info() when the codec
>>> fails to open, but return value is 0 and subsequent uses of this contex
Anton Khirnov:
> It provides a FIFO for "container" objects like AVFrame/AVPacket and
> features an integrated FFRefStructPool-based pool to avoid allocating an
> freeing them repeatedly.
> ---
> libavcodec/container_fifo.c | 195
> libavcodec/container_fifo.h
Anton Khirnov:
> Instead of a single AVFrame.
>
> Will be useful in future commits, where we will want to produce multiple
> output frames for a single coded frame.
> ---
> libavcodec/Makefile | 2 +-
> libavcodec/hevc/hevcdec.c | 30 --
> libavcodec/hevc/hevcde
James Almer:
> On 8/7/2024 11:09 AM, Kacper Michajłow wrote:
>> Fixes: use-of-uninitialized-value
>>
>> Found by OSS-Fuzz.
>> ---
>> libavformat/mov.c | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/libavformat/mov.c b/libavformat/mov.c
>> index 1052691936..f2d8aee766
toq...@outlook.com:
> From: Wu Jianhua
>
> See https://github.com/ffvvc/FFmpeg/issues/178
This link only sends one to a patchwork thread to read. The commit
message should instead explain why this is done on its own (and may
refer to the mailing list thread for a more detailed explanation).
Sam
Zhao Zhili:
> From: Zhao Zhili
>
> Before the patch, the method to generate DTS only works with
> timebase equal to 1/fps. With timebase like 1/1000
>
> ./ffmpeg -i foo.mp4 -an -c:v h264_nvenc -enc_time_base 1/1000 bar.mp4
>
> pts 0dts -3
> pts 160 dts 37
> pts 80 dts 77
> pts 40 dts 1
Michael Niedermayer:
> On Tue, Aug 06, 2024 at 08:41:16PM +0200, Andreas Rheinhardt wrote:
>> James Almer:
>>> On 8/6/2024 2:54 PM, Andreas Rheinhardt wrote:
>>>> Michael Niedermayer:
>>>>> On Tue, Aug 06, 2024 at 07:05:38PM +0200, Michael Niedermayer w
James Almer:
> On 8/6/2024 2:54 PM, Andreas Rheinhardt wrote:
>> Michael Niedermayer:
>>> On Tue, Aug 06, 2024 at 07:05:38PM +0200, Michael Niedermayer wrote:
>>>> Hi
>>>>
>>>> Did CBS win the obfuscated C contest yet?
>>>&g
Michael Niedermayer:
> On Tue, Aug 06, 2024 at 07:05:38PM +0200, Michael Niedermayer wrote:
>> Hi
>>
>> Did CBS win the obfuscated C contest yet?
>>
>> I was just looking at a msan issue and then looked at this:
>>
>> CHECK(FUNC_SEI(message_list)(ctx, rw, ¤t->message_list, 1));
>>
>>
>> #define CHE
Signed-off-by: Andreas Rheinhardt
---
libavcodec/cbs_sei.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/libavcodec/cbs_sei.c b/libavcodec/cbs_sei.c
index eefa07cf00..458751d92e 100644
--- a/libavcodec/cbs_sei.c
+++ b/libavcodec/cbs_sei.c
@@ -41,7 +41,6 @@ int
David (Ming Qiang) Wu via ffmpeg-devel:
> AV1Profile2 VAAPI is supported and tested on AMD VCN5.
>
> Signed-off-by: David (Ming Qiang) Wu
> ---
> libavcodec/av1dec.c | 3 +++
> libavcodec/vaapi_decode.c | 3 +++
> 2 files changed, 6 insertions(+)
>
> diff --git a/libavcodec/av1dec.c b/lib
Niklas Haas:
> From: Niklas Haas
>
> While this is technically a spec violation, the result is still
> decodable (and will look perfectly fine to clients ignoring Dolby Vision
> metadata). It will also only happen in garbage in, garbage out scenarios.
> ---
> libavcodec/libsvtav1.c | 4 ++--
> 1
Araz Iusubov:
> From: Michael Fabian 'Xaymar' Dirks
>
> added 10 bit support for amf hevc.
>
> before:
>
> command - ffmpeg.exe -hide_banner -y -hwaccel d3d11va -hwaccel_output_format
> d3d11 -i test_10bit_file.mkv -an -c:v h264_amf res.dx11_hw_h264.mkv
> output - Format of input frames conte
already covered lists, add two new entries for color
> space and color range, mirroring the newly added negotiable fields in
> libavfilter.
>
> I decided to drop the explicit length field from the API proposed by
> Andreas Rheinhardt, because having it in place ended up complicating
/master/projects/ffmpeg
Signed-off-by: Andreas Rheinhardt
---
libavcodec/vp8.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c
index d6df018655..8945447eb6 100644
--- a/libavcodec/vp8.c
+++ b/libavcodec/vp8.c
@@ -541,9 +541,12 @@ static
Rémi Denis-Courmont:
> ---
> doc/APIchanges | 3 +++
> libavutil/cpu.h | 3 +++
> libavutil/version.h | 1 +
> 3 files changed, 7 insertions(+)
>
> diff --git a/doc/APIchanges b/doc/APIchanges
> index fb54c3fbc9..16993d310e 100644
> --- a/doc/APIchanges
> +++ b/doc/APIchanges
> @@ -2,6 +
Lynne via ffmpeg-devel:
> On 26/07/2024 10:22, Andreas Rheinhardt wrote:
>> Lynne via ffmpeg-devel:
>>> Its not feasible to add an AVClass in the main context, as
>>> it would waste space, as the main context is recursive, and
>>> every bit of assembly would n
Lynne via ffmpeg-devel:
> Its not feasible to add an AVClass in the main context, as
> it would waste space, as the main context is recursive, and
> every bit of assembly would need to be changed.
>
> While its true that on paper av_log has access to the main
> context, that functionality is not u
Marvin Scholz:
> ---
> libavfilter/vf_yadif_videotoolbox.m | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/libavfilter/vf_yadif_videotoolbox.m
> b/libavfilter/vf_yadif_videotoolbox.m
> index c47d3edfb8..eb7026395e 100644
> --- a/libavfilter/vf_yadif_videotoolbox.m
> +++ b/libavfilter/vf_
Marvin Scholz:
> ---
> libavutil/avassert.h | 12
> 1 file changed, 12 insertions(+)
>
> diff --git a/libavutil/avassert.h b/libavutil/avassert.h
> index 1895fb7551..cdab912fe4 100644
> --- a/libavutil/avassert.h
> +++ b/libavutil/avassert.h
> @@ -75,4 +75,16 @@
> */
> void av_ass
Michael Niedermayer:
> The length is 64bit that is passed into the functions.
> Alternatively the values can be checked before cast
>
> Fixes: CID1604572 Overflowed return value
>
> Sponsored-by: Sovereign Tech Fund
> Signed-off-by: Michael Niedermayer
> ---
> libavformat/matroskadec.c | 6 +++-
Use the already available AVCodecParameters pointer instead.
Shortens lines.
Signed-off-by: Andreas Rheinhardt
---
libavformat/matroskaenc.c | 34 ++
1 file changed, 18 insertions(+), 16 deletions(-)
diff --git a/libavformat/matroskaenc.c b/libavformat
Signed-off-by: Andreas Rheinhardt
---
libavformat/matroskaenc.c | 12
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c
index 4b91283119..a98d33abf3 100644
--- a/libavformat/matroskaenc.c
+++ b/libavformat
s INT_MAX + 1;
for left in 0..par->width both checks will be passed.
Fix this and simplify the check by using 64-bit types,
where the addition is guaranteed not to overflow.
Signed-off-by: Andreas Rheinhardt
---
libavformat/matroskaenc.c | 6 ++
1 file changed, 2 insertions(+), 4 deletion
Forgotten in f194f291d8082134cdce625b0ca3548067428ea9
Signed-off-by: Andreas Rheinhardt
---
libavformat/matroskaenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c
index 216cb48884..e1adc0eba6 100644
--- a/libavformat
Leo Izen:
> This test confirms that we can write mDCv chunks and read them back via
> the png decoder. It uses an HEVC conformance sample with this metadata
> as the base source for the side data in the frames.
>
> Signed-off-by: Leo Izen
> Reported-by: Jan Ekström
> ---
> tests/fate/image.mak
Signed-off-by: Andreas Rheinhardt
---
libavcodec/decode.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/decode.c b/libavcodec/decode.c
index cdb682cf69..187b5b6c85 100644
--- a/libavcodec/decode.c
+++ b/libavcodec/decode.c
@@ -1029,7 +1029,7 @@ enum AVPixelFormat
This "works" because the public AVCodecHWConfig is at the beginning of
AVCodecHWConfigInternal.
Fixes libavcodec/decode.c:1035:61: runtime error: member access within
null pointer of type 'const struct AVCodecHWConfigInternal'.
Signed-off-by: Andreas Rheinhardt
---
lib
Andreas Rheinhardt:
> Michael Niedermayer:
>> Fixes: CID1516994 Out-of-bounds access
>> Fixes: CID1516996 Out-of-bounds access
>> Fixes: CID1516999 Out-of-bounds access
>>
>> Sponsored-by: Sovereign Tech Fund
>> Signed-off-by: Michael Niedermayer
>> --
Michael Niedermayer:
> Fixes: CID1516994 Out-of-bounds access
> Fixes: CID1516996 Out-of-bounds access
> Fixes: CID1516999 Out-of-bounds access
>
> Sponsored-by: Sovereign Tech Fund
> Signed-off-by: Michael Niedermayer
> ---
> libavfilter/af_surround.c | 3 +++
> 1 file changed, 3 insertions(+)
James Almer:
> hvcC should only contain nuh_layer_id == 0 NALUs. Support for a box meant to
> contain higher layer NALUs will be added in a following patch.
> To achieve this, all sources are parsed and filtered, including hvcC source
> that until now were propagated untouched. This is reflected in
James Almer:
> Signed-off-by: James Almer
> ---
> libavformat/mov.c | 48 +++
> 1 file changed, 48 insertions(+)
>
> diff --git a/libavformat/mov.c b/libavformat/mov.c
> index a3951a6942..30e8086855 100644
> --- a/libavformat/mov.c
> +++ b/libavformat/
Stephen Hutchinson:
> The atexit() handler in the avisynth demuxer was added because
> there was a conflict in AvxSynth that arose due to their use
> of C++ global objects, particularly in relation to having
> added a logging function relying on log4cpp.
>
> This conflict was responsible for causi
Rémi Denis-Courmont:
> ---
> tests/checkasm/h263dsp.c | 57 +++-
> 1 file changed, 56 insertions(+), 1 deletion(-)
>
> diff --git a/tests/checkasm/h263dsp.c b/tests/checkasm/h263dsp.c
> index 2d0957a90b..26020211dc 100644
> --- a/tests/checkasm/h263dsp.c
> +++
Rémi Denis-Courmont:
> Le lauantaina 6. heinäkuuta 2024, 19.20.33 EEST Andreas Rheinhardt a écrit :
>> Rémi Denis-Courmont:
>>> Le lauantaina 6. heinäkuuta 2024, 18.23.00 EEST Andreas Rheinhardt a écrit
> :
>>>>> static void dct_unqua
Rémi Denis-Courmont:
> Le lauantaina 6. heinäkuuta 2024, 19.19.35 EEST Andreas Rheinhardt a écrit :
>> Rémi Denis-Courmont:
>>> Le lauantaina 6. heinäkuuta 2024, 18.17.37 EEST Andreas Rheinhardt a écrit
> :
>>>> Rémi Denis-Courmont:
>>>>> Note t
Rémi Denis-Courmont:
> Le lauantaina 6. heinäkuuta 2024, 18.17.37 EEST Andreas Rheinhardt a écrit :
>> Rémi Denis-Courmont:
>>> Note that optimised implementations of these functions will be taken
>>> into actual use only if MpegEncContext.dct_unquantize_h263_{inter,intr
Rémi Denis-Courmont:
> Le lauantaina 6. heinäkuuta 2024, 18.23.00 EEST Andreas Rheinhardt a écrit :
>>> static void dct_unquantize_h263_inter_c(MpegEncContext *s,
>>>
>>>int16_t *block, int n, int qscale)
>>>
>&
Rémi Denis-Courmont:
> ---
> configure | 4 ++--
> libavcodec/mpegvideo.c | 40 +---
> 2 files changed, 11 insertions(+), 33 deletions(-)
>
> diff --git a/configure b/configure
> index fed4c44cd1..42b9a72d5a 100755
> --- a/configure
> +++ b/config
Rémi Denis-Courmont:
> Note that optimised implementations of these functions will be taken
> into actual use only if MpegEncContext.dct_unquantize_h263_{inter,intra}
> are *not* overloaded by existing optimisations.
> ---
> libavcodec/h263dsp.c | 25 +
> libavcodec/h263dsp
Anton Khirnov:
> Quoting Andreas Rheinhardt (2024-07-05 02:00:35)
>> Anton Khirnov:
>>> Filter output is not bitexact.
>>> ---
>>> Reference file at https://up.khirnov.net/7r.pcm, please put it in
>>> filter-reference/atempo.pcm
>>
>> Why is
Anton Khirnov:
> Filter output is not bitexact.
> ---
> Reference file at https://up.khirnov.net/7r.pcm, please put it in
> filter-reference/atempo.pcm
Why is the test not shortened to avoid such a huge file?
> ---
> tests/fate/filter-audio.mak | 4 +++-
> 1 file changed, 3 insertions(+), 1 dele
asivery via ffmpeg-devel:
> I'm sending the patch again, so that it is correctly rebased on the current
> master.
> Here are the two sample files required by the FATE test:
> https://0x0.st/Xaw2.aea/boxboy333_house_music_multitrack.aea
> https://0x0.st/Xaw_.pcm/boxboy333_house_music_multitrack.pcm
Fixes checkheaders.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/hw_base_encode.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/hw_base_encode.h b/libavcodec/hw_base_encode.h
index e528f2013b..ac0cc7b80c 100644
--- a/libavcodec/hw_base_encode.h
+++ b/libavcodec
Sean McGovern:
> Hi Andreas,
>
>
> On Tue, Jul 2, 2024, 11:48 Andreas Rheinhardt <
> andreas.rheinha...@outlook.com> wrote:
>
>> Sean McGovern:
>>> Hi Leo,
>>>
>>>
>>> On Tue, Jul 2, 2024, 09:44 Leo Izen wrote:
>>>
Sean McGovern:
> Hi Leo,
>
>
> On Tue, Jul 2, 2024, 09:44 Leo Izen wrote:
>
>> When mDCv support was added, there was a typo in both variable names
>> and also the MKTAG itself, incorrectly listing it as mDVc. The tag name
>> stands for Mastering Display Color Volume so mDCv is correct.
>>
>> T
Michael Niedermayer:
> On Thu, Jun 20, 2024 at 05:01:08PM +0000, Andreas Rheinhardt wrote:
>> ffmpeg | branch: master | Andreas Rheinhardt
>> | Wed Jun 12 08:37:53 2024 +0200|
>> [65d5ccb808ec93de46a2458ea8cc082ce4460f34] | committer: Andreas Rheinhardt
>>
&g
H.261 does not have non-reference frames.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/h261dec.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavcodec/h261dec.c b/libavcodec/h261dec.c
index cabca33c8d..50ac53167d 100644
--- a/libavcodec/h261dec.c
+++ b/libavcodec
Effectively reverts c59b5e3d1e0121ea23b5b326529f5bdca44cf982.
This is possible now that ff_print_debug_info2() uses
the MPVPicture dimensions.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/vc1dec.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/libavcodec/vc1dec.c
It will allow to avoid the special case for VC-1 field pictures.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/mpegvideo_dec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/mpegvideo_dec.c b/libavcodec/mpegvideo_dec.c
index 78fa10c11d..5d8e9a36ec 100644
--- a
The mpegvideo-based encoders do one uncommon thing with
the packet's data given by ff_alloc_packet(): They potentially
reallocate it. But this only affects the internal buffer
and is not user-facing at all, so one can nevertheless
use the AV_CODEC_CAP_DR1 for them.
Signed-off-by: An
Signed-off-by: Andreas Rheinhardt
---
libavcodec/motion_est.c | 25 +
1 file changed, 5 insertions(+), 20 deletions(-)
diff --git a/libavcodec/motion_est.c b/libavcodec/motion_est.c
index 554fc9780e..b9576e61bf 100644
--- a/libavcodec/motion_est.c
+++ b/libavcodec
he current macroblock and not the initial value.
Fix this by only setting the qscale_table value in one place
outside of mpv_reconstruct_mb() (where it does not belong at all).
Signed-off-by: Andreas Rheinhardt
---
libavcodec/mpegvideo_enc.c | 8 ++-
tests/ref/seek/vsynth_lena-mpeg4-a
Signed-off-by: Andreas Rheinhardt
---
Could be squashed into the preceding commit.
libavcodec/mpegvideo_dec.c | 318 ++---
libavcodec/mpegvideo_enc.c | 70
2 files changed, 193 insertions(+), 195 deletions(-)
diff --git a/libavcodec/mpegvideo_dec.c b
A large part of this template is decoder-only. This makes
the complexity of the IS_ENCODER-checks not worth it.
So simply merge the template into both its users.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/mpegvideo_dec.c | 218 +-
libavcodec/mpegvideo_enc.c
It is not part of reconstructing the macroblock.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/mpegvideo_enc.c | 11 ---
libavcodec/mpv_reconstruct_mb_template.c | 9 -
2 files changed, 4 insertions(+), 16 deletions(-)
diff --git a/libavcodec/mpegvideo_enc.c b
being initialized properly (VC-1 uses and initializes
block_index itself normally).
Fixes:
69814/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VC1_fuzzer-4868081575329792
Fixes: heap-buffer-overflow
Signed-off-by: Andreas Rheinhardt
---
libavcodec/h263dec.c | 9 +
libav
The MPEG-1/2 encoders are the only non-intra-only mpegvideo
encoders that want last_dc reset when encoding non-intra macroblocks.
Therefore move resetting it to mpeg12enc.c.
Signed-off-by: Andreas Rheinhardt
---
libavcodec/mpeg12enc.c | 2 ++
libavcodec
unnecessarily
for FLV1, H.261, H.263I, RV.10, RV.20 and H.263(+)
(for the latter it depends upon whether h263_aic is in use).
Signed-off-by: Andreas Rheinhardt
---
libavcodec/mpeg12dec.c | 2 ++
libavcodec/mpv_reconstruct_mb_template.c | 2 +-
2 files changed, 3 insertions(+), 1
Signed-off-by: Andreas Rheinhardt
---
libavcodec/h261enc.c | 33 +++--
1 file changed, 19 insertions(+), 14 deletions(-)
diff --git a/libavcodec/h261enc.c b/libavcodec/h261enc.c
index a901c32e42..d3d724bef6 100644
--- a/libavcodec/h261enc.c
+++ b/libavcodec/h261enc.c
Paul B Mahol:
> On Thu, Jun 27, 2024 at 3:57 AM Kacper Michajłow wrote:
>
>> Fixes use of uninitialized value, reported by MSAN. Specifically in
>> jpegxl parser.
>>
>> Found by OSS-Fuzz.
>>
>> Signed-off-by: Kacper Michajłow
>> ---
>> libavformat/img2dec.c | 2 ++
>> 1 file changed, 2 insertio
Kacper Michajłow:
> Fixes use of uninitialized value, reported by MSAN.
>
> Found by OSS-Fuzz.
>
> Signed-off-by: Kacper Michajłow
> ---
> libavcodec/jpegxl_parser.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/libavcodec/jpegxl_parser.c b/libavcodec/jpegxl_parser.c
> index 8c45e1a
Peter Ross:
> Reviewed-by: Andreas Rheinhardt
?
> ---
> libavcodec/mmvideo.c | 11 ---
> 1 file changed, 4 insertions(+), 7 deletions(-)
>
> diff --git a/libavcodec/mmvideo.c b/libavcodec/mmvideo.c
> index 3038d9ea92..933d895f96 100644
> --- a/libavcodec/mmvi
Lynne via ffmpeg-devel:
> On 26/06/2024 01:57, Michael Niedermayer wrote:
>> On Wed, Jun 26, 2024 at 01:35:18AM +0200, Lynne via ffmpeg-devel wrote:
>>> On 24/06/2024 01:01, Michael Niedermayer wrote:
ff_aac_usac_config_decode() needs AACDecContext to be set but some
callers
pass NUL
Kacper Michajłow:
> Fixes use of uninitialized value, reported by MSAN.
>
> Found by OSS-Fuzz.
>
> Signed-off-by: Kacper Michajłow
> ---
> libavcodec/jpegxl_parser.c | 7 ++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/libavcodec/jpegxl_parser.c b/libavcodec/jpegxl_pa
Anton Khirnov:
> It is redundant, since it only sets AVCodecContext fields that are
> already copied by the generic code.
> ---
> libavcodec/hevc/hevcdec.c | 4
> 1 file changed, 4 deletions(-)
>
> diff --git a/libavcodec/hevc/hevcdec.c b/libavcodec/hevc/hevcdec.c
> index e80f2f28c7..4a62170
Michael Niedermayer:
> On Sat, Apr 27, 2024 at 01:13:54PM +0200, Andreas Rheinhardt wrote:
>> Michael Niedermayer:
>>> Fixes: NULL pointer dereference
>>> Fixes:
>>> 68192/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP8_fuzzer-6180311026171904
>>
James Almer:
> Signed-off-by: James Almer
> ---
> libavcodec/packet.h | 14 ++
> 1 file changed, 14 insertions(+)
>
> diff --git a/libavcodec/packet.h b/libavcodec/packet.h
> index a9a41576da..9dee035690 100644
> --- a/libavcodec/packet.h
> +++ b/libavcodec/packet.h
> @@ -330,6 +330,
1 - 100 of 1079 matches
Mail list logo