[FFmpeg-devel] [PATCH] libavcodec/sanm: implement codec37 subcodec1

2025-01-07 Thread Manuel Lauss
RLE-compressed stream of motion vector indices and a special opcode to fill a block with data from the source stream. It is used in the LucasArts "Full Throttle" blink*.san animations. Signed-off-by: Manuel Lauss --- libavcodec/sanm.c | 64 ++- 1 file

[FFmpeg-devel] [PATCH] libavcodec/sanm: simplify codec37 subcodec 3/4 path

2025-01-07 Thread Manuel Lauss
A flag in the codec header determines whether opcodes 0xFD/0xFE are to be treated as special. The current code has 2 implementations of the same decoding scheme, with one treating the 2 opcodes as special, the other not. Collapse them into a single implementation and treat these opcode according t

Re: [FFmpeg-devel] [PATCH 2/4] doc/faq: Anwser some questions about he GA, which keep popping up

2025-01-07 Thread Michael Niedermayer
Hi Ronald On Mon, Jan 06, 2025 at 09:38:27PM -0500, Ronald S. Bultje wrote: > On Mon, Jan 6, 2025 at 6:23 PM Michael Niedermayer > wrote: > > > +@subsection Can votes be bought? > > > > Really? This is necessary? :-( "This" as in, "talking about the problems of the GA governance system" ? yes

Re: [FFmpeg-devel] [PATCH] avcodec/vvcdec: set pict_type and AV_FRAME_FLAG_KEY

2025-01-07 Thread Rubén Gonzalez
Hi Nuo Mi, thanks for your feedback. Unfortunately I don't have enough knowledge/time to improve the patch. I only mimicked H.26[45]. IMHO, reporting AV_FRAME_FLAG_KEY is better than nothing, so I will send a new patch only with AV_FRAME_FLAG_KEY logic and create a bug report in trac to support p

[FFmpeg-devel] [PATCH] avformat/mov: merge stts and ctts arrays into one

2025-01-07 Thread James Almer
Should reduce memory usage as well as remove code duplication. Signed-off-by: James Almer --- libavformat/isom.h | 15 +- libavformat/mov.c| 579 --- tests/ref/fate/quickdraw | 2 +- 3 files changed, 251 insertions(+), 345 deletions(-) diff -

Re: [FFmpeg-devel] [PATCH 2/4] doc/faq: Anwser some questions about he GA, which keep popping up

2025-01-07 Thread Vittorio Giovara
> On Jan 7, 2025, at 7:02 AM, Michael Niedermayer > wrote: > > Hi Ronald > >> On Mon, Jan 06, 2025 at 09:38:27PM -0500, Ronald S. Bultje wrote: >> On Mon, Jan 6, 2025 at 6:23 PM Michael Niedermayer >> wrote: >> >>> +@subsection Can votes be bought? >>> >> >> Really? This is necessary? :-(

Re: [FFmpeg-devel] [PATCH] avformat/flvenc: fix missing sequence start with MP3 tracks

2025-01-07 Thread Timo Rothenpieler
applied, thanks ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH 2/4] doc/faq: Anwser some questions about he GA, which keep popping up

2025-01-07 Thread Ronald S. Bultje
On Tue, Jan 7, 2025 at 7:02 AM Michael Niedermayer wrote: > Hi Ronald > > On Mon, Jan 06, 2025 at 09:38:27PM -0500, Ronald S. Bultje wrote: > > On Mon, Jan 6, 2025 at 6:23 PM Michael Niedermayer < > mich...@niedermayer.cc> > > wrote: > > > > > +@subsection Can votes be bought? > > > > > > > Reall

Re: [FFmpeg-devel] [PATCH] Fix the tail handling in R-V V sad

2025-01-07 Thread Rémi Denis-Courmont
Le maanantaina 23. joulukuuta 2024, 17.01.32 UTC+2 uk7b-at- foxmail@ffmpeg.org a écrit : > From: sunyuechi > > --- > libavcodec/riscv/h26x/asm.S| 36 +- > libavcodec/riscv/vvc/sad_rvv.S | 2 +- > 2 files changed, 19 insertions(+), 19 deletions(-) > > dif

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: CC election

2025-01-07 Thread Marth64
Hi, > The new CC members such as I myself don't have access to previous > communications and deliberations, at least not that I'd know. I'm in the same boat, I am getting to learn the issues and assisting where I can. I think it will take a little time after the new year for everyone to get reacqu

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: CC election

2025-01-07 Thread Vittorio Giovara
On Tue, Jan 7, 2025 at 1:20 PM Rémi Denis-Courmont wrote: > Le tiistaina 7. tammikuuta 2025, 6.46.24 UTC+2 Vittorio Giovara a écrit : > > S not to poke a bee's nest, but what's going on here? Are there any > > blockers for the elected people to assume their roles? > > I can't speak for the ot

Re: [FFmpeg-devel] [PATCH] avformat/ipfsgateway: fix capitalizaton mistake

2025-01-07 Thread Leo Izen
On 1/7/25 4:54 PM, Alexander Strasser via ffmpeg-devel wrote: On 2025-01-07 14:18 -0500, Leo Izen wrote: Fix the incorrect capitalization of the project name in a comment. The project is named FFmpeg, not FFMpeg. Signed-off-by: Leo Izen Reported-by: NyanMaths --- libavformat/ipfsgateway.c |

Re: [FFmpeg-devel] [PATCH] fate/vvc: Add vvc-frames-with-ltr.vvc

2025-01-07 Thread James Almer
On 1/7/2025 7:19 PM, Frank Plowman wrote: This sample is rather difficult, containing a lot of subtle edge cases which revealed errors in the VVC decoder. It covers 88.4% of lines in libavcodec/vvc and brings the line coverage of the entire VVC fate suite from 96.3% to 97.2%. Signed-off-by: Fra

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: CC election

2025-01-07 Thread Rémi Denis-Courmont
Le tiistaina 7. tammikuuta 2025, 6.46.24 UTC+2 Vittorio Giovara a écrit : > S not to poke a bee's nest, but what's going on here? Are there any > blockers for the elected people to assume their roles? I can't speak for the other members, so I'll stick to pure facts... So far there have been t

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: CC election

2025-01-07 Thread compn
On Tue, 07 Jan 2025 20:20:00 +0200, Rémi Denis-Courmont wrote: > The new CC members such as I myself don't have access to previous > communications and deliberations, at least not that I'd know. the previous cc has not responded to all people who made previous complaints. i dont think this was a

[FFmpeg-devel] [PATCH] avformat/ipfsgateway: fix capitalizaton mistake

2025-01-07 Thread Leo Izen
Fix the incorrect capitalization of the project name in a comment. The project is named FFmpeg, not FFMpeg. Signed-off-by: Leo Izen Reported-by: NyanMaths --- libavformat/ipfsgateway.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/ipfsgateway.c b/libavformat/ip

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: CC election

2025-01-07 Thread Leo Izen
On 1/7/25 1:20 PM, Rémi Denis-Courmont wrote: Le tiistaina 7. tammikuuta 2025, 6.46.24 UTC+2 Vittorio Giovara a écrit : S not to poke a bee's nest, but what's going on here? Are there any blockers for the elected people to assume their roles? I can't speak for the other members, so I'll st

Re: [FFmpeg-devel] [PATCH 2/4] doc/faq: Anwser some questions about he GA, which keep popping up

2025-01-07 Thread Michael Niedermayer
Hi Ronald On Tue, Jan 07, 2025 at 01:30:36PM -0500, Ronald S. Bultje wrote: > On Tue, Jan 7, 2025 at 7:02 AM Michael Niedermayer > wrote: > > > Hi Ronald > > > > On Mon, Jan 06, 2025 at 09:38:27PM -0500, Ronald S. Bultje wrote: > > > On Mon, Jan 6, 2025 at 6:23 PM Michael Niedermayer < > > mich.

Re: [FFmpeg-devel] [ANNOUNCE] upcoming vote: CC election

2025-01-07 Thread Rémi Denis-Courmont
Hi, Le 7 janvier 2025 21:54:06 GMT+02:00, Leo Izen a écrit : >On 1/7/25 1:20 PM, Rémi Denis-Courmont wrote: >> Le tiistaina 7. tammikuuta 2025, 6.46.24 UTC+2 Vittorio Giovara a écrit : >>> S not to poke a bee's nest, but what's going on here? Are there any >>> blockers for the elected people

Re: [FFmpeg-devel] [PATCH] avformat/ipfsgateway: fix capitalizaton mistake

2025-01-07 Thread Alexander Strasser via ffmpeg-devel
On 2025-01-07 14:18 -0500, Leo Izen wrote: > Fix the incorrect capitalization of the project name in a comment. > The project is named FFmpeg, not FFMpeg. > > Signed-off-by: Leo Izen > Reported-by: NyanMaths > --- > libavformat/ipfsgateway.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-

Re: [FFmpeg-devel] [PATCH] avformat/mov: merge stts and ctts arrays into one

2025-01-07 Thread Alexander Strasser via ffmpeg-devel
On 2025-01-07 10:55 -0300, James Almer wrote: > Should reduce memory usage as well as remove code duplication. > > Signed-off-by: James Almer > --- > libavformat/isom.h | 15 +- > libavformat/mov.c| 579 --- > tests/ref/fate/quickdraw | 2 +- >

Re: [FFmpeg-devel] [PATCH 2/4] doc/faq: Anwser some questions about he GA, which keep popping up

2025-01-07 Thread Alexander Strasser via ffmpeg-devel
Hi Ronald, hi Michael, hi all! On 2025-01-07 22:32 +0100, Michael Niedermayer wrote: > Hi Ronald > > On Tue, Jan 07, 2025 at 01:30:36PM -0500, Ronald S. Bultje wrote: > > On Tue, Jan 7, 2025 at 7:02 AM Michael Niedermayer > > wrote: > > > > > Hi Ronald > > > > > > On Mon, Jan 06, 2025 at 09:38:2

Re: [FFmpeg-devel] [PATCH 3/4] doc/faq: Document the plan ahead for Governance

2025-01-07 Thread Alexander Strasser via ffmpeg-devel
On 2025-01-07 00:23 +0100, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > doc/faq.texi | 8 > 1 file changed, 8 insertions(+) > > diff --git a/doc/faq.texi b/doc/faq.texi > index 54c3fbb41fe..70002a8156d 100644 > --- a/doc/faq.texi > +++ b/doc/faq.texi > @@ -702,

[FFmpeg-devel] [PATCH] fate/vvc: Add vvc-frames-with-ltr.vvc

2025-01-07 Thread Frank Plowman
This sample is rather difficult, containing a lot of subtle edge cases which revealed errors in the VVC decoder. It covers 88.4% of lines in libavcodec/vvc and brings the line coverage of the entire VVC fate suite from 96.3% to 97.2%. Signed-off-by: Frank Plowman --- Sorry this sat on the FATE r

Re: [FFmpeg-devel] [PATCH] avutil/vulkan_glslang: windows build improvements

2025-01-07 Thread Lynne
On 07/01/2025 14:46, Koushik Dutta wrote: Searches pkg-config for glslang libraries. Use libavutil thread.h wrapper rather than directly including pthread.h. Signed-off-by: Koushik Dutta --- configure | 1 + libavutil/vulkan_glslang.c | 2 +- 2 files changed, 2 insertions

Re: [FFmpeg-devel] [PATCH 1/4] avfilter/af_pan: Fix sscanf() use

2025-01-07 Thread Nicolas George
Michael Niedermayer (12025-01-07): > Fixes: Memory Data Leak > > Found-by: Simcha Kosman > Signed-off-by: Michael Niedermayer > --- > libavfilter/af_pan.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavfilter/af_pan.c b/libavfilter/af_pan.c > index 0d20b0307b3..3

Re: [FFmpeg-devel] [PATCH 1/4] avfilter/af_pan: Fix sscanf() use

2025-01-07 Thread Michael Niedermayer
Hi Nicolas On Tue, Jan 07, 2025 at 10:52:17AM +0100, Nicolas George wrote: > Michael Niedermayer (12025-01-07): > > Fixes: Memory Data Leak > > > > Found-by: Simcha Kosman > > Signed-off-by: Michael Niedermayer > > --- > > libavfilter/af_pan.c | 2 +- > > 1 file changed, 1 insertion(+), 1 dele

Re: [FFmpeg-devel] [PATCH] avfilter/vf_grayworld: Use the correct pointer for av_log()

2025-01-07 Thread Michael Niedermayer
Hi On Mon, Jan 06, 2025 at 06:43:15PM +0100, Alexander Strasser via ffmpeg-devel wrote: > On 2025-01-06 05:22 +0100, Michael Niedermayer wrote: > > Fixes: crash > > > > Found-by: Elias Myllymäki > > Signed-off-by: Michael Niedermayer > > --- > > libavfilter/vf_grayworld.c | 4 ++-- > > 1 file

Re: [FFmpeg-devel] [PATCH 1/3] ffv1dec: move slice start finding into a function

2025-01-07 Thread Michael Niedermayer
On Mon, Jan 06, 2025 at 01:05:09PM +0900, Lynne wrote: > > > On 06/01/2025 12:40, Michael Niedermayer wrote: > > Hi Lynne > > > > On Sun, Jan 05, 2025 at 05:59:35PM +0900, Lynne wrote: > > > This also cleans up and gives the code some much needed comments. > > > --- > > > libavcodec/ffv1dec.c

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_addroi: Add missing NULL termination to addroi_var_names[]()

2025-01-07 Thread Michael Niedermayer
Hi On Sun, Jan 05, 2025 at 11:26:17AM +0100, Alexander Strasser via ffmpeg-devel wrote: > On 2025-01-05 05:44 +0100, Michael Niedermayer wrote: > > Fixes: out of array read > > > > Found-by: Elias Myllymäki > > Signed-off-by: Michael Niedermayer > > --- > > libavfilter/vf_addroi.c | 1 + > > 1

Re: [FFmpeg-devel] [PATCH v2] libavcodec/mpeg12dec.c: append CC data to a53_buf_ref

2025-01-07 Thread Marth64
Pushed with minor formatting change (uint8_t *cap instead of uint8_t* cap) ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org w

Re: [FFmpeg-devel] [PATCH] avformat/avformat.h: elaborate documentation for avformat_open_input() on error condition

2025-01-07 Thread Marth64
Pushed ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH] avcodec/mpeg12dec: fix range for cc_format option

2025-01-07 Thread Marth64
Pushed ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-devel] [PATCH v2] loongarch: fixes fate-checkasm-sw_rgb failure

2025-01-07 Thread yuanhecai
Signed-off-by: yuanhecai --- libswscale/loongarch/output_lasx.c | 45 ++ libswscale/loongarch/output_lsx.c | 61 +++--- 2 files changed, 35 insertions(+), 71 deletions(-) diff --git a/libswscale/loongarch/output_lasx.c b/libswscale/loongarch/output_l

[FFmpeg-devel] [PATCH 2/2] avfilter/vf_v360: Fix NULL pointer use

2025-01-07 Thread Michael Niedermayer
Fixes: applying zero offset to null pointer partly Fixes: verysmall.flv Found-by: Elias Myllymäki Signed-off-by: Michael Niedermayer --- libavfilter/vf_v360.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_v360.c b/libavfilter/vf_v360.c index 04dc03bee7b.

[FFmpeg-devel] [PATCH 1/2] avcodec/mpegvideo_enc: Check FLV1 resolution limits

2025-01-07 Thread Michael Niedermayer
Found-by: Elias Myllymäki Signed-off-by: Michael Niedermayer --- libavcodec/mpegvideo_enc.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index c5f20c2d855..09df2f52a6c 100644 --- a/libavcodec/mpegvideo_enc.c +++ b/libavcodec/mp

Re: [FFmpeg-devel] [PATCH v2] avformat/http: Add max_request_size option

2025-01-07 Thread Marth64
As it’s effectively controlling the value of the Range header, this is also something one can do with curl’s -r switch or -headers on the http protocol handler now. So I think it’s reasonable to make it available as an option. I would not necessarily brand it as a hack in the commit message since t

[FFmpeg-devel] [PATCH] avformat/rtpdec: int overflow in start_time_realtime

2025-01-07 Thread jon
From: Jonathan Baudanza This was previously adjusted by me in 6b3f9c2e92b. Unfortunately, I traded one integer overflow bug for another. Currently, NTP timestamps that exceed INT64_MAX (~Jan 20, 1968) will cause an overflow when passed to av_rescale. This patch replaces av_rescale, which operat

[FFmpeg-devel] [PATCH] avutil/frame.h: improve documentation for AV_FRAME_FLAG_LOSSLESS

2025-01-07 Thread Leo Izen
It should be more clear what this flag is indicating with a more verbose comment documenting it. Signed-off-by: Leo Izen --- libavutil/frame.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libavutil/frame.h b/libavutil/frame.h index 993fa6b65a..e3657f193f 100644 ---

Re: [FFmpeg-devel] [RFC PATCH] avformat/rtpdec: fix another int overflow in start_time_realtime

2025-01-07 Thread Jonathan Baudanza
On Mon, Jan 6, 2025, at 12:46 PM, Alexander Strasser via ffmpeg-devel wrote: > > Patch looks plausible except for the uint65_t typo and the long > lines in the commit message. > > Will give it a try and push if it works and there are no objections > from other developers. > Thank for for the fe

Re: [FFmpeg-devel] [PATCH] [h264] Make slice header parse errors fatal under AV_EF_EXPLODE

2025-01-07 Thread Marth64
It makes sense based on the surrounding code and AV_EF_EXPLODE use case. Will let it sit for a few days for others to provide feedback. Thank you. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To

Re: [FFmpeg-devel] [PATCH] avutil/frame.h: improve documentation for AV_FRAME_FLAG_LOSSLESS

2025-01-07 Thread Marth64
It reads clearly and LGTM. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".