Re: [FFmpeg-devel] [PATCH v2] ogg/vorbis: implement header packet skip in chained ogg bitstreams.

2025-08-03 Thread Michael Niedermayer
Hi Romain On Sun, Aug 03, 2025 at 05:50:17PM -0500, Romain Beauxis wrote: > Le dim. 3 août 2025 à 16:36, Michael Niedermayer > a écrit : [...] > > > Do you have any advice on how to look for a reviewer for this path? > > > > social media, like twitter > > > &

Re: [FFmpeg-devel] [PATCH] avcodec/tests/avpacket: Add av_packet_free() to avoid memory leak

2025-08-03 Thread Michael Niedermayer
On Sun, Aug 03, 2025 at 08:09:38PM +, Jiasheng Jiang wrote: > Add av_packet_free() to free avpkt_clone and avpkt in the error paths to > avoid potential memory leak. > > Fixes: da3c69a5a9 ("Added test for libavcodec/avpacket.c") > Signed-off-by: Jiasheng Jiang > --- > libavcodec/tests/avpac

Re: [FFmpeg-devel] [PATCH] avcodec/tests/avpacket: Add av_free() to avoid memory leak

2025-08-03 Thread Michael Niedermayer
On Sun, Aug 03, 2025 at 07:14:38PM +, Jiasheng Jiang wrote: > Add av_free() to free extra_data if av_packet_add_side_data() fails. > > Fixes: da3c69a5a9 ("Added test for libavcodec/avpacket.c") > Signed-off-by: Jiasheng Jiang > --- > libavcodec/tests/avpacket.c | 1 + > 1 file changed, 1 ins

Re: [FFmpeg-devel] [PATCH] examples: Add av_freep to avoid potential memory leak

2025-08-03 Thread Michael Niedermayer
On Sat, Aug 02, 2025 at 11:28:48PM +, Jiasheng Jiang wrote: > Add av_freep() to free avio_ctx_buffer if avio_alloc_context fails > to avoid potential memory leak. > > Fixes: 5fc4dea39c ("examples: add avio_reading.c example") > Signed-off-by: Jiasheng Jiang > --- > doc/examples/avio_read_cal

Re: [FFmpeg-devel] [PATCH] libavcodec/tests/motion: Add check for avcodec_alloc_context3()

2025-08-03 Thread Michael Niedermayer
On Sun, Aug 03, 2025 at 08:32:23PM +, Jiasheng Jiang wrote: > Add check for the return value of avcodec_alloc_context3() to avoid potential > NULL pointer dereference. > > Fixes: 5d48e4eafa ("Merge commit 'a6a750c7ef240b72ce01e9653343a0ddf247d196'") > Signed-off-by: Jiasheng Jiang > --- > l

Re: [FFmpeg-devel] [PATCH] libopenmpt: fix seeking

2025-08-03 Thread Michael Niedermayer
Hi Kimapr On Fri, Aug 01, 2025 at 11:04:44AM +0500, kimapr via ffmpeg-devel wrote: > revised the patch, hopefully it's better now. i also fixed > another weirdness that i didn't fix in the original patch > > On 2025/07/31 19:19, Michael Niedermayer wrote: > > >

Re: [FFmpeg-devel] [PATCH v2] avcodec/itut35: always check the provider code and country code together

2025-08-03 Thread Michael Niedermayer
Hi Maryla On Wed, Jun 25, 2025 at 05:55:45PM +0200, Maryla Ustarroz-Calonge via ffmpeg-devel wrote: > Date: Wed, 25 Jun 2025 17:55:45 +0200 > From: Maryla Ustarroz-Calonge > To: ffmpeg-devel@ffmpeg.org > Subject: [PATCH v2] avcodec/itut35: always check the provider code and > country code toget

Re: [FFmpeg-devel] [PATCH v2 1/1] libavformat/img2enc.c: rm warning ‘.tmp’ directive output may be truncated

2025-08-03 Thread Michael Niedermayer
On Thu, Jul 31, 2025 at 04:21:35PM +0800, Cai Fan wrote: > Signed-off-by: Cai Fan > --- > libavformat/img2enc.c | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/libavformat/img2enc.c b/libavformat/img2enc.c > index 41638d92b8..9a5718a8da 100644 > --- a/libavformat/i

Re: [FFmpeg-devel] [PATCH] lavc/vaapi_encode_av1: Fix ref_order_hint value for second slot

2025-08-03 Thread Michael Niedermayer
Hi Ruijing, David it seems theres no active maintainer for this To move this patch forward, maybe you know someone who wants to help with maintaince. Or maybe AMD might be interrested in having one of their employees officially maintain AMD related hw accelleration in ffmpeg ? thx On Wed, Jul

Re: [FFmpeg-devel] [PATCH v2] ogg/vorbis: implement header packet skip in chained ogg bitstreams.

2025-08-03 Thread Michael Niedermayer
Hi On Mon, Jul 28, 2025 at 04:12:13PM -0500, Romain Beauxis wrote: > Le dim. 27 juil. 2025 à 19:22, Michael Niedermayer > a écrit : > > > > Hi Romain > > > > On Wed, Jul 23, 2025 at 02:06:07PM -0500, Romain Beauxis wrote: > > > Le sam. 21 juin 202

Re: [FFmpeg-devel] [RFC] Advanced Error Codes

2025-08-03 Thread Michael Niedermayer
Hi On Tue, Jul 29, 2025 at 12:01:50AM +0200, Nicolas George wrote: > Michael Niedermayer (HE12025-07-06): > > Hi Nicolas > > Hi. Sorry I procrastinated to reply to that too. > > > theres a fixed length array of AdvancedError structs. > > More g

Re: [FFmpeg-devel] rebasing security

2025-08-03 Thread Michael Niedermayer
Hi Timo On Sun, Aug 03, 2025 at 10:01:42PM +0200, Timo Rothenpieler wrote: > On 8/3/2025 9:02 PM, Michael Niedermayer wrote: > > Hi > > > > On Sun, Aug 03, 2025 at 05:31:39PM +0200, Michael Niedermayer wrote: > > [...] > > > The solutions are obvious: >

Re: [FFmpeg-devel] [PATCH] lavfi: protection against premultiplied alpha (was: The patch series about premultiplied alpha)

2025-08-03 Thread Michael Niedermayer
Hi On Sun, Aug 03, 2025 at 08:15:09PM +0200, Nicolas George wrote: > Nicolas George (HE12025-08-03): > > I will send the series here in a few hours. > > Here is a series of patch. I am absolutely not sure I found all the > filters that could be flagged, but the rest can be done as the need > aris

Re: [FFmpeg-devel] rebasing security

2025-08-03 Thread Michael Niedermayer
Hi On Sun, Aug 03, 2025 at 05:31:39PM +0200, Michael Niedermayer wrote: [...] > The solutions are obvious: > 1. ignore security and supply chain attacks > 2. use merges not rebases on the server > 3. rebase locally, use fast forward only > 4. verify on server rebases May

Re: [FFmpeg-devel] rebasing security

2025-08-03 Thread Michael Niedermayer
Hi On Sun, Aug 03, 2025 at 05:38:26PM +0200, Timo Rothenpieler wrote: > On 8/3/2025 5:31 PM, Michael Niedermayer wrote: > > Hi > > > > The "on server rebase" process that we are using with forgejo looks a bit > > insecure > > > > Previously we

[FFmpeg-devel] rebasing security

2025-08-03 Thread Michael Niedermayer
Hi The "on server rebase" process that we are using with forgejo looks a bit insecure Previously we wrote code, discussed and then signed and pushed In this setup the code coming from a developer is not manipulatable because noone else can sign it Even if its not signed, stuff would

Re: [FFmpeg-devel] forgejo merge vs approve

2025-08-03 Thread Michael Niedermayer
On Sun, Aug 03, 2025 at 03:26:00PM +0200, Michael Niedermayer wrote: > On Sun, Aug 03, 2025 at 01:45:17PM +0200, Timo Rothenpieler wrote: > > On 8/3/2025 9:41 AM, Michael Niedermayer wrote: > > > Hi > > > > > > can we have a tag that causes "automerge on

Re: [FFmpeg-devel] forgejo merge vs approve

2025-08-03 Thread Michael Niedermayer
On Sun, Aug 03, 2025 at 01:45:17PM +0200, Timo Rothenpieler wrote: > On 8/3/2025 9:41 AM, Michael Niedermayer wrote: > > Hi > > > > can we have a tag that causes "automerge on approve" ? > > > > so that if i open a pr i can set that tag and if someone

[FFmpeg-devel] forgejo merge vs approve

2025-08-03 Thread Michael Niedermayer
Hi can we have a tag that causes "automerge on approve" ? so that if i open a pr i can set that tag and if someone approves it, its merged and i dont have to come back and click that button ? thx -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Concerning the gods, I

Re: [FFmpeg-devel] [FFmpeg-cvslog] avformat/mov: export the correct initial extratada from samples with multiple stsd

2025-08-02 Thread Michael Niedermayer
Hi This breaks: ./ffmpeg -i 'tickets//1666/avc-intra-panasonic-AG-HPX301E.mov' -f null - after this patch theres a lot of errors: ... [vist#0:0/h264 @ 0x55837b5fd6c0] [dec:h264 @ 0x55837b62c6c0] Error submitting packet to decoder: Invalid data found when processing input [h264 @ 0x55837c768000

[FFmpeg-devel] hls "-extension_picky" bugs

2025-08-02 Thread Michael Niedermayer
Hi Please reply with testcases, i just looked and found exactly one testcase (Ticket11526) which i will post a fix for soon if you have other cases that fail please provide testcases its trivial to update the lists in hls.c but i can only do it if i know the exceptions thx -- Michael GnuP

Re: [FFmpeg-devel] Fw: Bounce on Luca Abeni from MAINTENERS

2025-08-02 Thread Michael Niedermayer
d in > ffmpeg development again in the future... But right now, I am just short of > time. > > > Luca > > On Fri, 1 Aug 2025 at 09:03, luca abeni wrote: > > > > > > > Begin forwarded message: > > > > Date: Thu, 31 Jul 2025 16:47:46 +0200 &g

Re: [FFmpeg-devel] [PATCH] avcodec/sanm: Checks related to negative left/top

2025-08-01 Thread Michael Niedermayer
On Fri, Aug 01, 2025 at 02:50:56PM +0200, Manuel Lauss wrote: > On Fri, Aug 1, 2025 at 12:48 AM Michael Niedermayer > wrote: > > > > Fixes: > > 423673969/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SANM_fuzzer-5466731806261248 > > Fixes: out of array a

[FFmpeg-devel] forgejo merge access and 2FA

2025-08-01 Thread Michael Niedermayer
Hi all Please check that you have 2FA enabled, (timo did had to reset 2FA keys a while ago) 2FA is mandatory for merge access, because anyone with access to your email can just click on "forgot password" otherwise. I guess someone will suggest to disable the "forgot password" thing. That may be

Re: [FFmpeg-devel] [PATCH] avcodec/sanm: Checks related to negative left/top

2025-07-31 Thread Michael Niedermayer
Hi send this to ML, because of ease of "CC:" On Fri, Aug 01, 2025 at 12:48:32AM +0200, Michael Niedermayer wrote: > Fixes: > 423673969/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SANM_fuzzer-5466731806261248 > Fixes: out of array access > > CC: Manuel Laus

[FFmpeg-devel] [PATCH] avcodec/sanm: Checks related to negative left/top

2025-07-31 Thread Michael Niedermayer
Fixes: 423673969/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SANM_fuzzer-5466731806261248 Fixes: out of array access CC: Manuel Lauss Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec

Re: [FFmpeg-devel] [flac] Fix integer-overflow in flac_lpc_33_c

2025-07-31 Thread Michael Niedermayer
On Wed, Jul 30, 2025 at 03:59:09PM -0700, Dale Curtis wrote: > Patchset updated with your suggestions. Thanks! will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB In fact, the RIAA has been known to suggest that students drop out of college or go to

Re: [FFmpeg-devel] Bounce on Luca Abeni from MAINTENERS

2025-07-31 Thread Michael Niedermayer
Hi Peter, Luca On Thu, Jul 31, 2025 at 12:54:31PM +, Peter Enderborg wrote: > I get bouces saying that the user does not exist. Have have send patch, but > no maintainer. @peter, I see no patch submission from you, i also see no email address in the ffmpeg MAINTAINER file. luca abeni is eas

Re: [FFmpeg-devel] [PATCH] libopenmpt: fix seeking

2025-07-31 Thread Michael Niedermayer
Hi On Mon, Jul 28, 2025 at 07:58:18AM +0500, kimapr via ffmpeg-devel wrote: > This patch fixes strange seeking behavior i have observed in mpv when using > the libopenmpt demuxer, caused by mismatch in position state between the > demuxer and underlying libopenmpt library.  Not setting the prese

Re: [FFmpeg-devel] Revert "avformat/tls_openssl: properly get new BIO index"

2025-07-30 Thread Michael Niedermayer
Hi On Wed, Jul 30, 2025 at 09:53:26PM +0200, Nicolas George wrote: > Niklas Haas (HE12025-07-30): > > I disagree. Without this important context, the motivation behind the > > change is much less clear. > > It is not context, it is a dump of an exchange of mails that led to the It seems the comm

Re: [FFmpeg-devel] [flac] Fix integer-overflow in flac_lpc_33_c

2025-07-30 Thread Michael Niedermayer
Hi Dale On Wed, Jul 30, 2025 at 09:36:51AM -0700, Dale Curtis wrote: > On Wed, Jul 30, 2025 at 3:01 AM Michael Niedermayer > wrote: > > > Hi Dale > > > > On Tue, Jul 29, 2025 at 03:07:38PM -0700, Dale Curtis wrote: > > > This fix copies a couple of casts f

Re: [FFmpeg-devel] [flac] Fix integer-overflow in flac_lpc_33_c

2025-07-30 Thread Michael Niedermayer
Hi Dale On Tue, Jul 29, 2025 at 03:07:38PM -0700, Dale Curtis wrote: > This fix copies a couple of casts from surrounding functions. > See https://crbug.com/432528781 for stack trace details. > > Signed-off-by: Dale Curtis > flacdsp.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [FFmpeg-devel] [PATCH] avcodec/apv: align APV color format support with latest liboapv version

2025-07-29 Thread Michael Niedermayer
On Tue, Jul 29, 2025 at 11:09:52AM +0200, d.frankie...@samsung.com wrote: > -Original Message- > From: ffmpeg-devel On Behalf Of Michael > Niedermayer > Sent: Monday, July 28, 2025 5:16 PM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [

[FFmpeg-cvslog] avcodec/cbs_apv_syntax_template: Check tile_data_size

2025-07-29 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sat Jun 21 23:15:21 2025 +0200| [f09c834a7d01dfde9369551b2767c001846a396f] | committer: Michael Niedermayer avcodec/cbs_apv_syntax_template: Check tile_data_size Fixes: heap-buffer-overflow Fixes: 418421333/clusterfuzz-testcase-minimized

[FFmpeg-cvslog] avformat/subfile: Initialize end on all cases

2025-07-29 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Tue Jul 29 00:19:23 2025 +0200| [ebcdba4c6b340b26674f7bee9abc585a26a45304] | committer: Michael Niedermayer avformat/subfile: Initialize end on all cases Fixes: use of uninitialized variable Regression since

[FFmpeg-cvslog] avcodec/sanm: Check decoded_size for old_codec48

2025-07-29 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Mon Jul 28 20:45:59 2025 +0200| [3ccd7d8c8e85aaae0c6d6cc88ea6cb5309d56cdc] | committer: Michael Niedermayer avcodec/sanm: Check decoded_size for old_codec48 Fixes: writing over the end of the array Fixes: BIGSLEEP-434637586/payload Regression

Re: [FFmpeg-devel] forgejo labels

2025-07-29 Thread Michael Niedermayer
On Tue, Jul 29, 2025 at 10:04:51PM +0100, Frank Plowman wrote: > On 28/07/2025 15:20, Michael Niedermayer wrote: > > Hi > > > > regression: issue aaddresses a regression > > bug:something is not working > > > > This is inconsistent > > Label

Re: [FFmpeg-devel] [PATCH 5/5] avcodec/cbs_apv_syntax_template: Check tile_data_size

2025-07-29 Thread Michael Niedermayer
On Sat, Jun 21, 2025 at 11:15:21PM +0200, Michael Niedermayer wrote: > Fixes: heap-buffer-overflow > Fixes: > 418421333/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APV_fuzzer-6592025183191040 > Fixes: > 418804929/clusterfuzz-testcase-minimized-ffmpeg_BSF_APV_

Re: [FFmpeg-devel] forgejo PR vs git send email questions

2025-07-29 Thread Michael Niedermayer
On Mon, Jul 28, 2025 at 08:14:58PM -0300, James Almer wrote: > On 7/28/2025 8:13 PM, Michael Niedermayer wrote: > > Hi > > > > with git send email i can send 5 independant patches with > > > > git send-email --to='FFmpeg development discussions and patche

[FFmpeg-devel] forgejo PR vs git send email questions

2025-07-28 Thread Michael Niedermayer
Hi with git send email i can send 5 independant patches with git send-email --to='FFmpeg development discussions and patches ' -5 and have some CC: tags to make sure people (like bug reporter or security researcher) get notified Does our forgejo act on CC: ? Also with 5 independant patches,

Re: [FFmpeg-devel] [PATCH] avformat/subfile: clip seek offset

2025-07-28 Thread Michael Niedermayer
On Fri, Jul 11, 2025 at 09:49:29PM +0200, Kacper Michajłow wrote: > Fixes: signed integer overflow: 9223372036854737920 + 1649410 cannot be > represented in type 'int64_t' > > Fixes OSS-Fuzz: 410100610 > > Signed-off-by: Kacper Michajłow > --- > libavformat/subfile.c | 6 +++--- > 1 file change

[FFmpeg-cvslog] avformat/dhav: fix reference point mixup

2025-07-28 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Mon Jul 28 15:34:27 2025 +0200| [33ae6cda71e6d34c9081a612abae00e2c7d39f72] | committer: Michael Niedermayer avformat/dhav: fix reference point mixup Fixes: reading the duration from before the start of the allocated buffer. Regression since

[FFmpeg-cvslog] avformat/dhav: Remove end_ prefix from variable names

2025-07-28 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Mon Jul 28 15:38:11 2025 +0200| [a408b749777603841a64e57c4341b5b2685c9c2c] | committer: Michael Niedermayer avformat/dhav: Remove end_ prefix from variable names The end_ prefix is confusing and may have contributed the mixup fixed in the

[FFmpeg-cvslog] avcodec/sanm: Check w, h for subversion < 2

2025-07-28 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Thu Jun 19 05:04:30 2025 +0200| [3afae0f4409ace1699ebe3fdd32a61f05657c09f] | committer: Michael Niedermayer avcodec/sanm: Check w, h for subversion < 2 Fixes: 410609432/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SANM_fuz

Re: [FFmpeg-devel] [PATCH 3/4] avcodec/sanm: Check w, h for subversion < 2

2025-07-28 Thread Michael Niedermayer
On Thu, Jul 03, 2025 at 10:32:35PM +0200, Manuel Lauss wrote: > Servus Michael, > > On Thu, Jun 19, 2025 at 5:05 AM Michael Niedermayer > wrote: > > > > Fixes: > > 410609432/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SANM_fuzzer-4935159201988608

Re: [FFmpeg-devel] forgejo labels

2025-07-28 Thread Michael Niedermayer
On Mon, Jul 28, 2025 at 06:15:53PM +0200, Timo Rothenpieler wrote: > On 7/28/2025 4:40 PM, Diederick C. Niehorster wrote: > > On Mon, Jul 28, 2025 at 4:21 PM Michael Niedermayer > > wrote: > > > > > > Hi > > > > > > regression: issue aaddres

[FFmpeg-cvslog] avcodec/dxvenc: Clear width to linesize not linesize to linesize

2025-07-28 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Wed Jul 23 21:25:37 2025 +0200| [a45755e302baf56461bd7d8cf0c3a88c0ee5e83f] | committer: Michael Niedermayer avcodec/dxvenc: Clear width to linesize not linesize to linesize Fixes: use of uninitialized memory Fixes: 422217206/clusterfuzz

[FFmpeg-cvslog] avcodec/shorten: Clear the additionally allocated space on realloc

2025-07-28 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Wed Jul 23 21:13:33 2025 +0200| [909229b880d5f2c2277ab10915954b18d5162322] | committer: Michael Niedermayer avcodec/shorten: Clear the additionally allocated space on realloc Fixes: use of uninitialized memory Fixes: 421954767/clusterfuzz

[FFmpeg-cvslog] avformat/mxg: clear AV_INPUT_BUFFER_PADDING_SIZE

2025-07-28 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Thu Jul 24 01:05:40 2025 +0200| [1b12e919cfe3bf69038225794330d14575fb78d0] | committer: Michael Niedermayer avformat/mxg: clear AV_INPUT_BUFFER_PADDING_SIZE Fixes: use of uninitialized memory Fixes: 427532813/clusterfuzz-testcase-minimized

[FFmpeg-cvslog] avformat/vqf: Ensure that comm_chunk is fully read

2025-07-28 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Wed Jul 23 13:36:42 2025 +0200| [1b7a327b3a43df6ab82885cea5ae02bf9dd899a9] | committer: Michael Niedermayer avformat/vqf: Ensure that comm_chunk is fully read Fixes: use of uninitialized memory Fixes: 412125811/clusterfuzz-testcase-minimized

[FFmpeg-cvslog] avformat/mxfdec: Ensure klv->key is initialized

2025-07-28 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Wed Jul 23 13:25:06 2025 +0200| [c6cb3ab7ff5a66db5d86f270d7c68547dac4da6a] | committer: Michael Niedermayer avformat/mxfdec: Ensure klv->key is initialized Fixes: read of uninitialized memory Fixes: 391916474/clusterfuzz-testcase-minimi

[FFmpeg-cvslog] avformat/mov: make sure file_checksum is fully initialized

2025-07-28 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Wed Jul 23 13:16:33 2025 +0200| [8b16e1ddd9c0bc4ca90447d481186216cfdce0fe] | committer: Michael Niedermayer avformat/mov: make sure file_checksum is fully initialized Fixes: use of uninitialized memory Fixes: 394990189/clusterfuzz-testcase

[FFmpeg-cvslog] avcodec/hevc/hevcdec: Clean sao_pixel_buffer_v on allocation

2025-07-28 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Wed Jul 23 13:05:29 2025 +0200| [7a21c37f75ef493bafed3e3fdfbd3cf48990439b] | committer: Michael Niedermayer avcodec/hevc/hevcdec: Clean sao_pixel_buffer_v on allocation Fixes: use of uninitialized memory Fixes: 378102648/clusterfuzz-testcase

[FFmpeg-cvslog] avformat/asfdec_f: Check amount of value read

2025-07-28 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Wed Jul 23 01:57:54 2025 +0200| [fa197924a66d83106c5d4dadb8610a1c526afd67] | committer: Michael Niedermayer avformat/asfdec_f: Check amount of value read Fixes: use of uninitialized memory Fixes: 403675492/clusterfuzz-testcase-minimized

[FFmpeg-cvslog] tools/target_dec_fuzzer: Set ALS max order to 15 (ALS simple profile)

2025-07-28 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Tue Jul 22 02:56:27 2025 +0200| [23c60ce742d6dc99a001089eb1dd4f5dcb208350] | committer: Michael Niedermayer tools/target_dec_fuzzer: Set ALS max order to 15 (ALS simple profile) Fixes: Timeout Fixes: 429645375/clusterfuzz-testcase-minimized

[FFmpeg-cvslog] avcodec/alsdec: Allow the user to set a maximum prediction order

2025-07-28 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Tue Jul 22 02:56:27 2025 +0200| [0887d2e291ee758ac381edd42adefe2a09d9b45e] | committer: Michael Niedermayer avcodec/alsdec: Allow the user to set a maximum prediction order The only offical profile i could find (ALS simple profile) has a max of

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/shorten: Clear the additionally allocated space on realloc

2025-07-28 Thread Michael Niedermayer
On Thu, Jul 24, 2025 at 06:40:17PM +0200, Michael Niedermayer wrote: > Fixes: use of uninitialized memory > Fixes: > 421954767/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SHORTEN_fuzzer-515682786246656 > > Found-by: continuous fuzzing process > https://github.com/go

Re: [FFmpeg-devel] [PATCH 3/4] avformat/mxfdec: Ensure klv->key is initialized

2025-07-28 Thread Michael Niedermayer
On Thu, Jul 24, 2025 at 08:25:35PM +0200, Tomas Härdin wrote: > tor 2025-07-24 klockan 00:51 +0200 skrev Marton Balint: > > > > > > On Wed, 23 Jul 2025, Tomas Härdin wrote: > > > > > ons 2025-07-23 klockan 13:45 +0200 skrev Michael Niedermayer: > &g

Re: [FFmpeg-devel] [PATCH] avformat/asfdec_f: Check amount of value read

2025-07-28 Thread Michael Niedermayer
On Mon, Jul 28, 2025 at 01:10:57AM +0200, Kacper Michajlow wrote: > On Sun, 27 Jul 2025 at 22:57, Michael Niedermayer > wrote: > > > > On Wed, Jul 23, 2025 at 05:51:35PM +0200, Kacper Michajlow wrote: > > > On Wed, 23 Jul 2025 at 10:43, Michael Niedermayer > > >

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/alsdec: Allow the user to set a maximum prediction order

2025-07-28 Thread Michael Niedermayer
On Tue, Jul 22, 2025 at 03:48:38AM +0200, Michael Niedermayer wrote: > The only offical profile i could find (ALS simple profile) has a max of 15 > while the bitstream allows 1023 > which is very slow. > > We do have a fate sample with 1023 > > Fixes: Timeout > Fixes:

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: limit segments count to search duplicated segments filenames

2025-07-28 Thread Michael Niedermayer
On Sat, Jul 26, 2025 at 07:09:54PM +0300, Artem Smorodin wrote: > This linear search has a complexity of O(n). When ffmpeg attempts to parse a > playlist containing approximately 100,000 segments, it effectively causes a > hang for several minutes. > > This patch limits the allowed size for duplic

Re: [FFmpeg-devel] [PATCH 1/1] avformat/movenc: fix HEVC fmp4 HLS init segment for Apple playback

2025-07-28 Thread Michael Niedermayer
On Mon, Jul 21, 2025 at 05:01:47PM -0400, David McElroy wrote: > HEVC fmp4 HLS video produced by ffmpeg is currently unplayable on Apple > software (Safari, QuickTime, AVFoundation). > > This is caused by an empty sdtp atom being erroneously written to the > fmp4 init segment. The `has_disposable`

Re: [FFmpeg-devel] [PATCH] avcodec/apv: align APV color format support with latest liboapv version

2025-07-28 Thread Michael Niedermayer
On Wed, Jul 23, 2025 at 01:13:49PM +0200, Dariusz Frankiewicz wrote: > Signed-off-by: Dariusz Frankiewicz > --- > configure | 2 +- > libavcodec/liboapvenc.c | 24 > 2 files changed, 25 insertions(+), 1 deletion(-) > > diff --git a/configure b/configure >

[FFmpeg-devel] forgejo labels

2025-07-28 Thread Michael Niedermayer
Hi regression: issue aaddresses a regression bug:something is not working This is inconsistent Label X cannot sometimes mean "X is removed" and "X is added" bug seems meaning that the PR adds a bug regression seems meaning that the PR removes a regression IMO this should be done consist

Re: [FFmpeg-devel] [PATCH] checkasm/h264dsp: Fix stack-buffer-overflow, effective-type violations

2025-07-28 Thread Michael Niedermayer
Hi Marvin On Fri, Jul 11, 2025 at 05:34:48PM +0200, Marvin Scholz wrote: > > > On 25 Jun 2025, at 23:39, Tristan Matthews via ffmpeg-devel wrote: > > > On Monday, June 16th, 2025 at 2:22 PM, Andreas Rheinhardt > > wrote: > > > > Tristan Matthews via ffmpeg-devel: > > > > On Monday, June 16th,

Re: [FFmpeg-devel] [PATCH v2] ogg/vorbis: implement header packet skip in chained ogg bitstreams.

2025-07-27 Thread Michael Niedermayer
Hi Romain On Wed, Jul 23, 2025 at 02:06:07PM -0500, Romain Beauxis wrote: > Le sam. 21 juin 2025 à 16:59, Michael Niedermayer > a écrit : > > > > On Sat, Jun 21, 2025 at 10:45:32AM +0200, Romain Beauxis wrote: > > > Le dim. 15 juin 2025 à 00:57, Michael

Re: [FFmpeg-devel] Again pre-multiplied alpha

2025-07-27 Thread Michael Niedermayer
Hi Niklas On Thu, Jul 24, 2025 at 01:11:54PM +0200, Niklas Haas wrote: > On Wed, 23 Jul 2025 19:02:06 +0200 Nicolas George wrote: > > Niklas Haas (HE12025-07-23): > > > [PATCH v2 05/18] avcodec/encode: enforce alpha mode compatibility at > > > encode time > > > > That handles it for encoders, I

Re: [FFmpeg-devel] [PATCH] avformat/asfdec_f: Check amount of value read

2025-07-27 Thread Michael Niedermayer
On Wed, Jul 23, 2025 at 05:51:35PM +0200, Kacper Michajlow wrote: > On Wed, 23 Jul 2025 at 10:43, Michael Niedermayer > wrote: > > > > Fixes: use of uninitialized memory > > Fixes: > > 403675492/clusterfuzz-testcase-minimized-ffmpeg_dem_ASF_fuzzer-475428182379724

Re: [FFmpeg-devel] [PATCH] web: announce code.ffmpeg.org

2025-07-27 Thread Michael Niedermayer
Hi Niklas On Sun, Jul 27, 2025 at 02:07:22PM +0200, Niklas Haas wrote: > On Wed, 23 Jul 2025 01:04:34 +0200 Michael Niedermayer > wrote: > > The announcment should probably mention that performance, as in number of > > submissions / percentage of applied / not review

Re: [FFmpeg-devel] [PATCH] web: announce code.ffmpeg.org

2025-07-26 Thread Michael Niedermayer
Hi On Sat, Jul 26, 2025 at 10:41:57PM +0200, Timo Rothenpieler wrote: [...] > Here's an idea I had to make the transition a bit more rapid: > > - Retire git.videolan.org, make it a pure mirror nobody can push to (except > the mirror script). +1 > - Make source.ffmpeg.org point to git.ffmpeg.

Re: [FFmpeg-devel] [PATCH] web: announce code.ffmpeg.org

2025-07-26 Thread Michael Niedermayer
Hi Timo On Sat, Jul 26, 2025 at 10:41:57PM +0200, Timo Rothenpieler wrote: > On 7/26/2025 10:24 PM, Kacper Michajlow wrote: > > On Sat, 26 Jul 2025 at 22:14, Timo Rothenpieler > > wrote: > > > > > > On 7/26/2025 10:01 PM, Derek Buitenhuis wrote: > > > > On 7/26/2025 8:29 PM, Timo Rothenpieler w

Re: [FFmpeg-devel] [PATCH] web: announce code.ffmpeg.org

2025-07-26 Thread Michael Niedermayer
Hi On Thu, Jul 24, 2025 at 06:05:12PM -1000, compn wrote: > On Wed, 23 Jul 2025 11:59:23 +0200, Michael Niedermayer wrote: > > > Hello Kieran > > > > On Wed, Jul 23, 2025 at 10:39:01AM +0100, Kieran Kunhya via ffmpeg-devel > > wrote: > > > > About 2

Re: [FFmpeg-devel] Forgejo questions

2025-07-25 Thread Michael Niedermayer
Hi On Thu, Jul 24, 2025 at 07:46:25PM +0200, Timo Rothenpieler wrote: > On 7/24/2025 7:30 PM, Michael Niedermayer wrote: > > Hi all > > > > how can i simply follow all changes, patches and discussions ? > > > > prior to teh forgejo test, i simply go ove

[FFmpeg-devel] Forgejo questions

2025-07-24 Thread Michael Niedermayer
Hi all how can i simply follow all changes, patches and discussions ? prior to teh forgejo test, i simply go over all new mail in my ffmpeg-devel folder. In that folder, I can leave things as new that i want to look at later I can mark things as old that i have not read but dont plan to d

[FFmpeg-devel] [PATCH 3/3] avformat/mxg: clear AV_INPUT_BUFFER_PADDING_SIZE

2025-07-24 Thread Michael Niedermayer
Fixes: use of uninitialized memory Fixes: 427532813/clusterfuzz-testcase-minimized-ffmpeg_dem_MXG_fuzzer-5661938917113856 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/mxg.c | 2 ++ 1 file

[FFmpeg-devel] [PATCH 2/3] avcodec/dxvenc: Clear width to linesize not linesize to linesize

2025-07-24 Thread Michael Niedermayer
Fixes: use of uninitialized memory Fixes: 422217206/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DXV_fuzzer-4786889444098048 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/dxvenc.c | 3

[FFmpeg-devel] [PATCH 1/3] avcodec/shorten: Clear the additionally allocated space on realloc

2025-07-24 Thread Michael Niedermayer
Fixes: use of uninitialized memory Fixes: 421954767/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SHORTEN_fuzzer-515682786246656 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/shorten.c

Re: [FFmpeg-devel] FFmpeg 8.0 Release

2025-07-23 Thread Michael Niedermayer
On Wed, Jul 23, 2025 at 11:19:57AM -0700, Jacob Lifshay wrote: > > > On July 23, 2025 10:48:51 AM PDT, Michael Niedermayer > wrote: > > On Wed, Jul 23, 2025 at 06:43:51PM +0200, Dimitry Andric wrote: > > > As long as there is a command line option to disable checking

Re: [FFmpeg-devel] FFmpeg 8.0 Release

2025-07-23 Thread Michael Niedermayer
On Wed, Jul 23, 2025 at 08:40:22PM +0200, Nicolas George wrote: > Michael Niedermayer (HE12025-07-23): > > the fix for this is to check crt.sh > > > > example: https://crt.sh/?q=ffmpeg.org > > > > and if there are or where correct certificates, reject the self si

Re: [FFmpeg-devel] FFmpeg 8.0 Release

2025-07-23 Thread Michael Niedermayer
On Wed, Jul 23, 2025 at 06:43:51PM +0200, Dimitry Andric wrote: > On 23 Jul 2025, at 18:27, Michael Niedermayer wrote: > > > > On Wed, Jul 23, 2025 at 03:45:28PM +0200, Timo Rothenpieler wrote: > >> On 23/07/2025 13:43, Michael Niedermayer wrote: > >>> Hi ever

Re: [FFmpeg-devel] FFmpeg 8.0 Release

2025-07-23 Thread Michael Niedermayer
On Wed, Jul 23, 2025 at 03:45:28PM +0200, Timo Rothenpieler wrote: > On 23/07/2025 13:43, Michael Niedermayer wrote: > > Hi everyone > > > > I intend to create the release/8.0 branch in the next 1-2 weeks > > after that i intend to make teh 8.0 release in the foll

[FFmpeg-devel] [PATCH 3/4] avformat/mxfdec: Ensure klv->key is initialized

2025-07-23 Thread Michael Niedermayer
Fixes: read of uninitialized memory Fixes: 391916474/clusterfuzz-testcase-minimized-ffmpeg_dem_MXF_fuzzer-4935250956845056 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/mxfdec.c | 4

[FFmpeg-devel] [PATCH 4/4] avformat/vqf: Ensure that comm_chunk is fully read

2025-07-23 Thread Michael Niedermayer
Fixes: use of uninitialized memory Fixes: 412125811/clusterfuzz-testcase-minimized-ffmpeg_dem_VQF_fuzzer-6253774274887680 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/vqf.c | 4 +++- 1

[FFmpeg-devel] [PATCH 2/4] avformat/mov: make sure file_checksum is fully initialized

2025-07-23 Thread Michael Niedermayer
Fixes: use of uninitialized memory Fixes: 394990189/clusterfuzz-testcase-minimized-ffmpeg_dem_MOV_fuzzer-6431722199908352 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/mov.c | 4 +++- 1

[FFmpeg-devel] [PATCH 1/4] avcodec/hevc/hevcdec: Clean sao_pixel_buffer_v on allocation

2025-07-23 Thread Michael Niedermayer
Fixes: use of uninitialized memory Fixes: 378102648/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HEVC_fuzzer-5896308499480576 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/hevc

[FFmpeg-devel] FFmpeg 8.0 Release

2025-07-23 Thread Michael Niedermayer
Hi everyone I intend to create the release/8.0 branch in the next 1-2 weeks after that i intend to make teh 8.0 release in the following 1-2 weeks If theres something you want in it make sure its pushed before the branch is made. And if theres a bugfix that you want included make sure it either

Re: [FFmpeg-devel] [PATCH] web: announce code.ffmpeg.org

2025-07-23 Thread Michael Niedermayer
Hello Kieran On Wed, Jul 23, 2025 at 10:39:01AM +0100, Kieran Kunhya via ffmpeg-devel wrote: > > > > > > > > About 2. (IMHO) > > * The solution is to hire carl or someone else (or find a volunteer) > > to do this work. Changing the tracker will not fix this. > > > > FFlabs should have enough

Re: [FFmpeg-devel] [PATCH] web: announce code.ffmpeg.org

2025-07-23 Thread Michael Niedermayer
Hi Lynne On Wed, Jul 23, 2025 at 01:01:06PM +0900, Lynne wrote: > > > On 23/07/2025 08:04, Michael Niedermayer wrote: > > Hi Lynne > > > > On Tue, Jul 22, 2025 at 12:53:29PM +0900, Lynne wrote: [...] > > > + > > > +We are also hoping that

Re: [FFmpeg-devel] [PATCH] web: announce code.ffmpeg.org

2025-07-23 Thread Michael Niedermayer
Hi Lynne On Wed, Jul 23, 2025 at 01:01:06PM +0900, Lynne wrote: > > > On 23/07/2025 08:04, Michael Niedermayer wrote: > > Hi Lynne > > > > On Tue, Jul 22, 2025 at 12:53:29PM +0900, Lynne wrote: > > > > [...] > > > > > + >

[FFmpeg-devel] [PATCH] avformat/asfdec_f: Check amount of value read

2025-07-23 Thread Michael Niedermayer
Fixes: use of uninitialized memory Fixes: 403675492/clusterfuzz-testcase-minimized-ffmpeg_dem_ASF_fuzzer-4754281823797248 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/asfdec_f.c | 4

Re: [FFmpeg-devel] [PATCH] web: announce code.ffmpeg.org

2025-07-22 Thread Michael Niedermayer
Hi Lynne On Tue, Jul 22, 2025 at 12:53:29PM +0900, Lynne wrote: [...] > + > +Bugs/issues will be accepted on href="https://code.ffmpeg.org/";>code.ffmpeg.org, alongside > +with https://trac.ffmpeg.org/";>trac.ffmpeg.org for the time > being. > + People should not submit bug report

Re: [FFmpeg-devel] [PATCH] forgejo/workflows: add initial rudimentary CI

2025-07-22 Thread Michael Niedermayer
Hi On Tue, Jul 22, 2025 at 01:00:49AM +0200, Timo Rothenpieler wrote: > On 7/22/2025 12:17 AM, Michael Niedermayer wrote: > > On Mon, Jul 21, 2025 at 06:37:06PM +0200, Timo Rothenpieler wrote: [...] > > --enable-version3 > > --cc='ccache gcc' (or clang) > &

[FFmpeg-devel] [PATCH 2/2] tools/target_dec_fuzzer: Set ALS max order to 15 (ALS simple profile)

2025-07-21 Thread Michael Niedermayer
Fixes: Timeout Fixes: 429645375/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ALS_fuzzer-5377900448907264 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 | 4 +++- 1 file

[FFmpeg-devel] [PATCH 1/2] avcodec/alsdec: Allow the user to set a maximum prediction order

2025-07-21 Thread Michael Niedermayer
fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/alsdec.c | 20 1 file changed, 20 insertions(+) diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c index 97b04a95f96..231d4ce52d6 100644 --- a

Re: [FFmpeg-devel] [PATCH] avcodec/ffv1dec: don't add offsets to more NULL pointers

2025-07-21 Thread Michael Niedermayer
On Sat, Jul 19, 2025 at 12:23:47AM -0300, James Almer wrote: > Fixes: libavcodec/ffv1dec.c:453:43: runtime error: applying zero offset to > null pointer > Signed-off-by: James Almer > --- > libavcodec/ffv1dec.c | 16 ++-- > 1 file changed, 10 insertions(+), 6 deletions(-) ok thx [

Re: [FFmpeg-devel] [PATCH] lavu: add av_scanf_format() and use it on av_sscanf()

2025-07-21 Thread Michael Niedermayer
On Sun, Jul 20, 2025 at 05:54:25PM -0700, Jacob Lifshay wrote: > Signed-off-by: Jacob Lifshay > --- > doc/APIchanges | 3 +++ > libavutil/attributes.h | 2 ++ > libavutil/avstring.h | 2 +- > libavutil/version.h| 2 +- > 4 files changed, 7 insertions(+), 2 deletions(-) will apply

Re: [FFmpeg-devel] [PATCH] libtheoraenc: Add encoding speed level option

2025-07-21 Thread Michael Niedermayer
Hi Bernat On Sun, Jul 20, 2025 at 09:15:07PM +0200, Bernat Arlandis wrote: > El 19/7/25 a las 18:26, bernat.arlan...@gmail.com escribió: > > From: Bernat Arlandis > > > > --- > > libavcodec/libtheoraenc.c | 27 +++ > > 1 file changed, 27 insertions(+) > > > > diff --g

Re: [FFmpeg-devel] [PATCH] forgejo/workflows: add initial rudimentary CI

2025-07-21 Thread Michael Niedermayer
On Mon, Jul 21, 2025 at 06:37:06PM +0200, Timo Rothenpieler wrote: > It runs basic fate with no special dependencies enabled on x86_64 and > aarch64. > --- > .forgejo/workflows/test.yml | 39 + > .gitignore | 1 + > 2 files changed, 40 insertio

Re: [FFmpeg-devel] [FEATURE] Cut a video (-ss) with timings non-aligned on keyframes, with minimal re-encoding

2025-07-21 Thread Michael Niedermayer
Hi On Sun, Jul 20, 2025 at 09:54:09PM +, b...@gget.it wrote: > Hi, > > Out of curiosity, has there been any progress since 1 year about this topic? > > Really, millions of CPU-hours are probably wasted to reencode > already-perfectly-encoded content, just for cutting purposes. For example,

Re: [FFmpeg-devel] [RFC] Moving edit list handling out of demuxers

2025-07-21 Thread Michael Niedermayer
Hi On Wed, Jun 18, 2025 at 05:50:10PM +0200, Tomas Härdin wrote: > ons 2025-06-18 klockan 05:55 +0200 skrev Michael Niedermayer: > > What you suggest or hint toward to me, in plain english sounds like, > > drop the ffmpeg command line tool because it would otherwise need to >

  1   2   3   4   5   6   7   8   9   10   >