[FFmpeg-devel] [PATCH] avfilter/drawutils: narrow variable scopes

2025-04-01 Thread Marvin Scholz
--- libavfilter/drawutils.c | 85 +++-- 1 file changed, 39 insertions(+), 46 deletions(-) diff --git a/libavfilter/drawutils.c b/libavfilter/drawutils.c index c3d4bb0a25..6f7dca021b 100644 --- a/libavfilter/drawutils.c +++ b/libavfilter/drawutils.c @@ -48,8 +48

[FFmpeg-devel] [PATCH] tools/target_swr_fuzzer: fix memory leak on av_samples_fill_arrays() error

2025-04-01 Thread Kacper Michajłow
Signed-off-by: Kacper Michajłow --- tools/target_swr_fuzzer.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/target_swr_fuzzer.c b/tools/target_swr_fuzzer.c index f154a11632..59fa24af64 100644 --- a/tools/target_swr_fuzzer.c +++ b/tools/target_swr_fuzzer.c @@ -79,7

[FFmpeg-devel] [PATCH] libavformat/rtpdec_mpeg4: AAC may not contain AU headers.

2025-04-01 Thread koushd
From: Koushik Dutta The codec information may be in the SDP and not in the stream. Signed-off-by: Koushik Dutta --- libavformat/rtpdec_mpeg4.c | 21 + 1 file changed, 21 insertions(+) diff --git a/libavformat/rtpdec_mpeg4.c b/libavformat/rtpdec_mpeg4.c index 6531632b2d..c3

Re: [FFmpeg-devel] [PATCH] libavformat/sdp: VPS is not a mandatory HEVC codec parameter.

2025-04-01 Thread Koushik Dutta
Hi, is there any issue with this patch? Here's a sample SDP without the VPS, that all hikvision cameras send during RTSP DESCRIBE. The VPS is sent periodically as part of the stream. The sprop-sps and sprop-pps are lost without this patch because the sprop-vps is not present. [rtsp @ 0x12d606fe0]

[FFmpeg-devel] SW's Patchsets Overview

2025-04-01 Thread softworkz .
Hello everybody, with freshly gained push access rights, I want to act responsibly and carefully, and also avoid unexpected surprises so I'm not going to rush things. Due to that change, I thought it might be good to post an overview of the patchsets I am intending to push in the near future:

[FFmpeg-devel] 回复: [PATCH v1 17/19] avcodec/vvc: support fields

2025-04-01 Thread Wu Jianhua
Andreas Rheinhardt : > toq...@gmail.com: >> From: Wu Jianhua >> >> passed files: >> FIELD_A_Panasonic_4.bit >> FIELD_B_Panasonic_2.bit >> >> Signed-off-by: Wu Jianhua >> --- >> libavcodec/vvc/refs.c | 8 >> 1 file changed, 8 insertions(+) >> >> diff --git a/libavcodec/vvc/refs.c

Re: [FFmpeg-devel] [PATCH v9 0/4] print_graphs: Complete Filtergraph Printing

2025-04-01 Thread softworkz .
> -Original Message- > From: ffmpegagent > Sent: Sonntag, 23. März 2025 04:42 > To: ffmpeg-devel@ffmpeg.org > Cc: softworkz > Subject: [PATCH v9 0/4] print_graphs: Complete Filtergraph Printing > > Due to the additional work on graph visualization (see > https://lists.ffmpeg.org/piperm

[FFmpeg-devel] [PATCH] avcodec/ffv1: Allocate unit only when needed and only as large as needed

2025-04-01 Thread Michael Niedermayer
That is instead of a fixed 65536, we now allocate only as many as there are pixels. We also allocate only for the encoder and only when remapping is enabled and only for 32bit per sample This should reduce memory consumption, the 2nd array will be dealt with in a future commit Signed-off-by: Mich

[FFmpeg-devel] [PATCH 6/7] tools/sidxindex: use av_err2str

2025-04-01 Thread Marvin Scholz
There is no need to explicitly specify the buffer, as it is only ever passed to fprintf, so av_err2str can be used. --- tools/sidxindex.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/tools/sidxindex.c b/tools/sidxindex.c index 3e43d95e02..96b1fce8c4 100644 --- a/tool

[FFmpeg-devel] [PATCH 5/7] tools/ismindex: use av_err2str

2025-04-01 Thread Marvin Scholz
There is no need to explicitly specify the buffer, as it is only ever passed to fprintf, so av_err2str can be used. --- tools/ismindex.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/tools/ismindex.c b/tools/ismindex.c index 6fe68d8a79..b110420bf0 100644 --- a/to

[FFmpeg-devel] [PATCH 7/7] tools/aviocat: use av_err2str

2025-04-01 Thread Marvin Scholz
There is no need to explicitly specify the buffer, as it is only ever passed to fprintf, so av_err2str can be used. --- tools/aviocat.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/tools/aviocat.c b/tools/aviocat.c index 816ab700ef..7f8a247f1c 100644 --- a/tool

[FFmpeg-devel] [PATCH 4/7] tests: lavfi/drawutils: use av_err2str

2025-04-01 Thread Marvin Scholz
There is no need to explicitly specify the buffer, as it is only ever passed to printf, so av_err2str can be used. --- libavfilter/tests/drawutils.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavfilter/tests/drawutils.c b/libavfilter/tests/drawutils.c index 7fe53ddf31

[FFmpeg-devel] [PATCH 3/7] lavfi/vf_xpsnr: use av_err2str

2025-04-01 Thread Marvin Scholz
There is no need to explicitly specify the buffer, as it is only ever passed to av_log, so av_err2str can be used. --- libavfilter/vf_xpsnr.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavfilter/vf_xpsnr.c b/libavfilter/vf_xpsnr.c index 3097db0878..34c875456e 100644

[FFmpeg-devel] [PATCH 2/7] avformat/crypto: use av_err2str

2025-04-01 Thread Marvin Scholz
There is no need to explicitly specify the buffer, as it is only ever passed to av_log, so av_err2str can be used. --- libavformat/crypto.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavformat/crypto.c b/libavformat/crypto.c index 868f6ddc25..da8aa0f0ec 100644 --- a/l

[FFmpeg-devel] [PATCH 1/7] avformat/dashdec: use av_err2str

2025-04-01 Thread Marvin Scholz
There is no need to explicitly specify the buffer, as it is only ever passed to av_log, so av_err2str can be used. --- libavformat/dashenc.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index d4a6fe0304..af92e38bbd 10064

Re: [FFmpeg-devel] [PATCH] doc: replace http/git by https urls

2025-04-01 Thread Michael Niedermayer
On Tue, Apr 01, 2025 at 08:47:43AM +0530, Gyan Doshi wrote: > > > On 2025-04-01 05:39 am, Michael Niedermayer wrote: > > These are more secure > > > > Signed-off-by: Michael Niedermayer > > --- > > doc/fate_config.sh.template | 2 +- > > doc/git-howto.texi | 2 +- > > 2 files chang

Re: [FFmpeg-devel] [PATCH v2] checkasm/v210enc.c: Use checkasm_check()

2025-04-01 Thread Martin Storsjö
On Wed, 26 Mar 2025, Martin Storsjö wrote: From: Kieran Kunhya This gives more informative printouts if the tests fail, if checkasm is run with "-v". Signed-off-by: Martin Storsjö --- tests/checkasm/v210enc.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/tests/c

[FFmpeg-devel] [PATCH v1 08/19] avcodec/vvc/sei: add decode_decoded_picture_hash

2025-04-01 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/vvc/sei.c | 19 +++ libavcodec/vvc/sei.h | 2 ++ 2 files changed, 21 insertions(+) diff --git a/libavcodec/vvc/sei.c b/libavcodec/vvc/sei.c index 365f815950..2d81ae5908 100644 --- a/libavcodec/vvc/sei.c +++ b/libavcodec

Re: [FFmpeg-devel] [PATCH v1 17/19] avcodec/vvc: support fields

2025-04-01 Thread Andreas Rheinhardt
toq...@gmail.com: > From: Wu Jianhua > > passed files: > FIELD_A_Panasonic_4.bit > FIELD_B_Panasonic_2.bit > > Signed-off-by: Wu Jianhua > --- > libavcodec/vvc/refs.c | 8 > 1 file changed, 8 insertions(+) > > diff --git a/libavcodec/vvc/refs.c b/libavcodec/vvc/refs.c > index

[FFmpeg-devel] [PATCH v1 16/19] avcodec/vvc/sei: add decode_frame_field_info

2025-04-01 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/vvc/sei.c | 26 ++ libavcodec/vvc/sei.h | 1 + 2 files changed, 27 insertions(+) diff --git a/libavcodec/vvc/sei.c b/libavcodec/vvc/sei.c index 85a07dad3f..a029306abd 100644 --- a/libavcodec/vvc/sei.c +++ b/liba

[FFmpeg-devel] [PATCH v1 19/19] avcodec/vvc/sei: add decode_mastering_display_colour_volume

2025-04-01 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/vvc/sei.c | 21 + 1 file changed, 21 insertions(+) diff --git a/libavcodec/vvc/sei.c b/libavcodec/vvc/sei.c index 7763dd401c..4c5c54f36c 100644 --- a/libavcodec/vvc/sei.c +++ b/libavcodec/vvc/sei.c @@ -158,6 +158,24

[FFmpeg-devel] [PATCH v1 06/19] avcodec/vvc/dec: support removing film grain params from side data

2025-04-01 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/vvc/refs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/vvc/refs.c b/libavcodec/vvc/refs.c index 4cf44bcf46..cfbc2977c0 100644 --- a/libavcodec/vvc/refs.c +++ b/libavcodec/vvc/refs.c @@ -295,6 +295,9 @@ int ff_vvc_ou

[FFmpeg-devel] [PATCH v1 10/19] avcodec/vvcdec: verify picture hash

2025-04-01 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/vvc/dec.c | 16 +++- libavcodec/vvc/sei.c | 10 ++ libavcodec/vvc/sei.h | 3 +++ 3 files changed, 28 insertions(+), 1 deletion(-) diff --git a/libavcodec/vvc/dec.c b/libavcodec/vvc/dec.c index 4c0d08440a..6c36eb553e

[FFmpeg-devel] [PATCH v1 11/19] avcodec/cbs_sei_syntax_template: add sei message sei_display_orientation

2025-04-01 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/cbs_h2645.c | 6 ++ libavcodec/cbs_sei.h | 7 +++ libavcodec/cbs_sei_syntax_template.c | 18 ++ 3 files changed, 31 insertions(+) diff --git a/libavcodec/cbs_h2645.c b/libavcodec/c

[FFmpeg-devel] [PATCH v1 05/19] avcodec/vvc/dec: support applying film grain by the decoder

2025-04-01 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/Makefile | 2 +- libavcodec/vvc/dec.c | 89 +-- libavcodec/vvc/dec.h | 8 +++- libavcodec/vvc/refs.c | 11 +- 4 files changed, 104 insertions(+), 6 deletions(-) diff --git a/libavcodec/M

[FFmpeg-devel] [PATCH v1 02/19] avcodec/vvc: support decoding prefix and suffix nal units

2025-04-01 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- configure | 4 ++- libavcodec/Makefile | 1 + libavcodec/vvc/Makefile | 1 + libavcodec/vvc/dec.c| 32 libavcodec/vvc/dec.h| 2 ++ libavcodec/vvc/sei.c| 55 +

[FFmpeg-devel] [PATCH v1 18/19] avcodec/vvc/sei: add decode_ambient_viewing_environment

2025-04-01 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/vvc/sei.c | 13 + 1 file changed, 13 insertions(+) diff --git a/libavcodec/vvc/sei.c b/libavcodec/vvc/sei.c index a029306abd..7763dd401c 100644 --- a/libavcodec/vvc/sei.c +++ b/libavcodec/vvc/sei.c @@ -148,6 +148,16 @@ stati

[FFmpeg-devel] [PATCH v1 17/19] avcodec/vvc: support fields

2025-04-01 Thread toqsxw
From: Wu Jianhua passed files: FIELD_A_Panasonic_4.bit FIELD_B_Panasonic_2.bit Signed-off-by: Wu Jianhua --- libavcodec/vvc/refs.c | 8 1 file changed, 8 insertions(+) diff --git a/libavcodec/vvc/refs.c b/libavcodec/vvc/refs.c index cfbc2977c0..79967b77d3 100644 --- a/libavco

[FFmpeg-devel] [PATCH v1 15/19] avcodec/h274: add H274SEIFrameFieldInfo struct

2025-04-01 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/h274.h | 8 1 file changed, 8 insertions(+) diff --git a/libavcodec/h274.h b/libavcodec/h274.h index e2bb1aec55..3629be2907 100644 --- a/libavcodec/h274.h +++ b/libavcodec/h274.h @@ -81,4 +81,12 @@ int ff_h274_hash_verify(H274H

[FFmpeg-devel] [PATCH v1 14/19] avcodec/cbs_sei_syntax_template: add sei message frame_field_information

2025-04-01 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/cbs_h2645.c | 6 ++ libavcodec/cbs_sei.h | 12 libavcodec/cbs_sei_syntax_template.c | 26 ++ 3 files changed, 44 insertions(+) diff --git a/libavcodec/cbs_h2645.c b

[FFmpeg-devel] [PATCH v1 13/19] avcodec/vvc/sei: add decode_content_light_level_info

2025-04-01 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/vvc/sei.c | 12 1 file changed, 12 insertions(+) diff --git a/libavcodec/vvc/sei.c b/libavcodec/vvc/sei.c index 6f918d114c..85a07dad3f 100644 --- a/libavcodec/vvc/sei.c +++ b/libavcodec/vvc/sei.c @@ -118,6 +118,15 @@ static

[FFmpeg-devel] [PATCH v1 12/19] avcodec/vvc/sei: add decode_display_orientation

2025-04-01 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/vvc/sei.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/libavcodec/vvc/sei.c b/libavcodec/vvc/sei.c index c955d9921f..6f918d114c 100644 --- a/libavcodec/vvc/sei.c +++ b/libavcodec/vvc/sei.c @@ -94,6 +94

[FFmpeg-devel] [PATCH v1 09/19] avcodec/h274: add ff_h274_hash functions

2025-04-01 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/h274.c | 163 ++ libavcodec/h274.h | 7 ++ 2 files changed, 170 insertions(+) diff --git a/libavcodec/h274.c b/libavcodec/h274.c index 5709200322..9edc705042 100644 --- a/libavcodec/h274.c +

[FFmpeg-devel] [PATCH v1 07/19] avcodec/h274: add H274SEIPictureHash struct

2025-04-01 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/h274.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/libavcodec/h274.h b/libavcodec/h274.h index cebc8becb3..e1803edaf3 100644 --- a/libavcodec/h274.h +++ b/libavcodec/h274.h @@ -64,4 +64,14 @@ int ff_h274_apply_film_gr

[FFmpeg-devel] [PATCH v1 04/19] avcodec/vvc/dec: export sei to the frame when the frame starts

2025-04-01 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/h2645_sei.c | 9 + libavcodec/h2645_sei.h | 2 +- libavcodec/vvc/dec.c | 12 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/libavcodec/h2645_sei.c b/libavcodec/h2645_sei.c index 2494daaf3c..78d9d

[FFmpeg-devel] [PATCH v1 01/19] avcodec/cbs_sei_syntax_template: add sei message film_grain_characteristics

2025-04-01 Thread toqsxw
From: Wu Jianhua Signed-off-by: Wu Jianhua --- libavcodec/cbs_h2645.c | 6 libavcodec/cbs_sei.h | 21 +++ libavcodec/cbs_sei_syntax_template.c | 53 3 files changed, 80 insertions(+) diff --git a/libavcodec/cbs_h2645.c b/

[FFmpeg-devel] [PATCH 3/3] avutil/tests/aes_ctr: test more than a single block worth of data

2025-04-01 Thread James Almer
This should exercise the implementation more thoroughly after the previous change. Signed-off-by: James Almer --- libavutil/tests/aes_ctr.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavutil/tests/aes_ctr.c b/libavutil/tests/aes_ctr.c index 486dae3348..65b49ee7fe

Re: [FFmpeg-devel] [PATCH v9 0/8] Properly decode ogg metadata in ogg/{vorbis, flac, opus} chained bitstreams

2025-04-01 Thread Romain Beauxis
Hi, Do y'all have any feedback on those patches? Thanks, -- Romain Le lun. 24 mars 2025 à 09:51, Romain Beauxis a écrit : > This is a series of patches to allow proper decoding of ogg metadata in > chained > `ogg/vorbis, `ogg/flac` and `ogg/opus` streams. > > FATE samples for the new tests can

[FFmpeg-devel] [PATCH 2/2] configure: Check for AVCaptureSession as dependency to avfoundation

2025-04-01 Thread Martin Storsjö
This class is unavailable on tvOS before 17.0 (and macOS before 10.7 and iOS before 4.0, but those are fairly ancient). This makes sure that we don't try to build the avfoundation indevice for such OSes. --- configure | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --g

[FFmpeg-devel] [PATCH 1/2] avfoundation: Fix compilation for OSes other than macOS and iOS

2025-04-01 Thread Martin Storsjö
E.g. tvOS doesn't have devicesWithMediaType. In principle, we could probably disable building the whole input device on such OSes, but that would either require testing explicitly for the OS type in configure (which we don't do anywhere so far), or test for individual objective C methods. This ap

Re: [FFmpeg-devel] [PATCH 2/4] checkasm: Implement helpers for defining and checking padded rects

2025-04-01 Thread Martin Storsjö
On Tue, 1 Apr 2025, Martin Storsjö wrote: On Tue, 1 Apr 2025, Michael Niedermayer wrote: #define DEF_CHECKASM_CHECK_FUNC(type, fmt) \ int checkasm_check_##type(const char *file, int line, \ const type *buf1, ptrdiff_t stride1, \ const typ

Re: [FFmpeg-devel] [PATCH v2] checkasm/v210enc.c: Use checkasm_check()

2025-04-01 Thread Martin Storsjö
On Tue, 1 Apr 2025, Martin Storsjö wrote: On Wed, 26 Mar 2025, Martin Storsjö wrote: From: Kieran Kunhya This gives more informative printouts if the tests fail, if checkasm is run with "-v". Signed-off-by: Martin Storsjö --- tests/checkasm/v210enc.c | 9 - 1 file changed, 4 inserti

Re: [FFmpeg-devel] [PATCH 4/4] configure: Check for an actual function in VideoToolbox

2025-04-01 Thread Martin Storsjö
On Tue, 1 Apr 2025, Martin Storsjö wrote: On Wed, 26 Mar 2025, Martin Storsjö wrote: This makes sure to disable VideoToolbox if building with an SDK that does contain VideoToolbox, but targeting an older version of the OS where it is unavailable. Previously, we would enable VideoToolbox as lon

[FFmpeg-devel] [PATCH v2 1/2] avutil/aes_ctr: simplify and optimize av_aes_ctr_crypt()

2025-04-01 Thread James Almer
Process data in chunks of four or eight bytes, depending on host, instead of one at a time. before: 55561 decicycles in av_aes_ctr_crypt after: 52204 decicycles in av_aes_ctr_crypt Signed-off-by: James Almer --- libavutil/aes_ctr.c | 47 - 1 file cha

Re: [FFmpeg-devel] [PATCH 1/2] avutil/aes_ctr: simplify and optimize av_aes_ctr_crypt()

2025-04-01 Thread Nicolas George
James Almer (HE12025-04-01): > Process data in chunks of four or eight bytes, depending on host, instead of > one > at a time. > > Signed-off-by: James Almer > --- > libavutil/aes_ctr.c | 47 - > 1 file changed, 21 insertions(+), 26 deletions(-) A co

[FFmpeg-devel] [PATCH 1/2] avutil/aes_ctr: simplify and optimize av_aes_ctr_crypt()

2025-04-01 Thread James Almer
Process data in chunks of four or eight bytes, depending on host, instead of one at a time. Signed-off-by: James Almer --- libavutil/aes_ctr.c | 47 - 1 file changed, 21 insertions(+), 26 deletions(-) diff --git a/libavutil/aes_ctr.c b/libavutil/aes_c

Re: [FFmpeg-devel] [PATCH] avcodec/sbcdsp_data: Make data static

2025-04-01 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Patch attached > > - Andreas > Will apply tomorrow unless there are objections. - Andreas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, o

Re: [FFmpeg-devel] [PATCH 3/4] checkasm: hevc_pel: Use helpers for checking for writes out of bounds

2025-04-01 Thread yinshiyou-hf
> -原始邮件- > 发件人: "Martin Storsjö" > 发送时间:2025-04-01 17:35:16 (星期二) > 收件人: ffmpeg-devel@ffmpeg.org > 抄送: jinbo , yinshiyou...@loongson.cn, "Lu Wang" > > 主题: Re: [PATCH 3/4] checkasm: hevc_pel: Use helpers for checking for writes > out of bounds > > On Wed, 26 Mar 2025, Martin Storsjö

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/ac3dec: Read spx flags at once, not one bit at a, time

2025-04-01 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Patches attached. > > - Andreas > Will apply tomorrow unless there are objections. - Andreas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above

Re: [FFmpeg-devel] [PATCH] avcodec/dct: Make declarations and definitions match

2025-04-01 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Patch attached. > > - Andreas > Will apply tomorrow unless there are objections. - Andreas ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, o

[FFmpeg-devel] [PATCH] avcodec/libwebpdec: Add libwebp WebP decoder.

2025-04-01 Thread Peter Xia
Adds support of decoding animated webp. Signed-off-by: Peter Xia --- Changelog | 1 + configure | 4 +- doc/general_contents.texi | 2 +- libavcodec/Makefile | 1 + libavcodec/allcodecs.c| 3 +- libavcodec/libwebpdec.c | 200 +

[FFmpeg-devel] [PATCH] avcodec/mediacodecdec: Reset optional fields when parse format

2025-04-01 Thread Zhao Zhili
From: Zhao Zhili Parse format can be called multiple times, e.g., when resolution changed. If getInt32 fails, optional member variables will retain their previously set values without modification. This can be a big problem for new resolution with old crop info. This patch reset optional fields

Re: [FFmpeg-devel] [PATCH 2/4] checkasm: Implement helpers for defining and checking padded rects

2025-04-01 Thread Martin Storsjö
On Tue, 1 Apr 2025, Michael Niedermayer wrote: #define DEF_CHECKASM_CHECK_FUNC(type, fmt) \ int checkasm_check_##type(const char *file, int line, \ const type *buf1, ptrdiff_t stride1, \ const type *buf2, ptrdiff_t stride2, \ -

Re: [FFmpeg-devel] [PATCH 3/4] checkasm: hevc_pel: Use helpers for checking for writes out of bounds

2025-04-01 Thread Martin Storsjö
On Wed, 26 Mar 2025, Martin Storsjö wrote: This allows catching whether the functions write outside of the designated rectangle, and if run with "checkasm -v", it also prints out on which side of the rectangle the overwrite was. --- tests/checkasm/hevc_pel.c | 157 ++-

[FFmpeg-devel] [PATCH] avformat: Fix AV1 RTP wrong log condition

2025-04-01 Thread Chris Hodges
Fixed warning about OBU count being wrong, which can only be determined when the number of OBUs in the header is non-zero, not the other way round. Signed-off-by: Chris Hodges --- libavformat/rtpdec_av1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtpdec_av1