[FFmpeg-devel] [PATCH v2] avcodec/dovi - disable metadata compression by default

2024-05-22 Thread Cosmin Stejerean via ffmpeg-devel
From: Cosmin Stejerean not all clients support metadata compression, output when vdr_dm_metadata_changed fails the DV verifier. --- libavcodec/dovi_rpu.h| 10 ++ libavcodec/dovi_rpuenc.c | 8 ++-- libavcodec/libaomenc.c | 3 +-- libavcodec/libsvtav1.c | 3 +--

Re: [FFmpeg-devel] [PATCH] avcodec/dovi - disable metadata compression by default

2024-05-22 Thread Cosmin Stejerean via ffmpeg-devel
> On May 21, 2024, at 3:19 AM, Niklas Haas wrote: > > On Tue, 21 May 2024 04:03:43 + Cosmin Stejerean via ffmpeg-devel > wrote: >> >> diff --git a/libavcodec/libaomenc.c b/libavcodec/libaomenc.c >> index dec74ebecd..c6104f5522 100644 >> --- a/libavcodec/libaomenc.c >> +++

Re: [FFmpeg-devel] [PATCH] lavc/rv34dsp: optimise R-V V idct_dc_add

2024-05-22 Thread flow gg
Unfortunately I only test to obtain benchmarks and basic correctness. I always feel the need for a professional to write the tests. Rémi Denis-Courmont 于2024年5月23日周四 04:35写道: > > > Le 22 mai 2024 23:28:54 GMT+03:00, "Rémi Denis-Courmont" > a écrit : > >This removes one stray LI and reworks the

Re: [FFmpeg-devel] [PATCH v12 0/8] [WIP] webp: add support for animated WebP decoding

2024-05-22 Thread James Zern via ffmpeg-devel
On Tue, May 21, 2024 at 9:50 AM Thilo Borgmann via ffmpeg-devel wrote: > > Hi, > > [...] > >>> Tests mostly work for me. There are a few images (that I reported > >>> earlier) that give: > >> > >> thanks for testing! > >> > >> > >>> Canvas change detected. The output will be damaged. Use

Re: [FFmpeg-devel] [RFC 00/13] flvdec/flvenc: add support for enhanced rtmp codecs and multitrack/multichannel

2024-05-22 Thread Steven Liu
Timo Rothenpieler 于2024年5月21日周二 17:03写道: > > This is based on the preliminary spec for enhanced rtmp v2: > https://veovera.org/docs/enhanced/enhanced-rtmp-v2 > > The spec is not final, and can still undergo breaking changes, hence this set > is purely for comments and review, and not ready to be

Re: [FFmpeg-devel] [PATCH v3 4/4] tests/checkasm/vvc_alf: add check_alf_classify

2024-05-22 Thread James Almer
On 5/14/2024 8:25 AM, Nuo Mi wrote: On Mon, May 13, 2024 at 8:32 PM wrote: From: Wu Jianhua Perforamnce Test (fps): clip before after delta Tango2_3840x2160_60_10_420_27_LD.266 56 115 105.36% RitualDance_1920x1080_60_10_420_32_LD.266 272

[FFmpeg-devel] [PATCH 7/7] avcodec/tests/bitstream_template: Make it clear that the return is intentionally not checked

2024-05-22 Thread Michael Niedermayer
Helps: CID1518967 Unchecked return value Helps: CID1518968 Unchecked return value Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavcodec/tests/bitstream_template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[FFmpeg-devel] [PATCH 6/7] avcodec/sga: Make it clear that the return is intentionally not checked

2024-05-22 Thread Michael Niedermayer
Related: CID1473496 Unchecked return value Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavcodec/sga.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/sga.c b/libavcodec/sga.c index 0f42cf912b2..618df000ada 100644 ---

[FFmpeg-devel] [PATCH 5/7] avformat/asfdec_f: Use 64bit for preroll computation

2024-05-22 Thread Michael Niedermayer
Fixes: CID1500342 Unintentional integer overflow Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavformat/asfdec_f.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/asfdec_f.c b/libavformat/asfdec_f.c index fcc2b98a2c4..2441cadb444

[FFmpeg-devel] [PATCH 4/7] avformat/argo_asf: Use 64bit in offset intermediate

2024-05-22 Thread Michael Niedermayer
Fixes: CID1467435 Unintentional integer overflow Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavformat/argo_asf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/argo_asf.c b/libavformat/argo_asf.c index 61bfc6de1fc..e08f029f80c

[FFmpeg-devel] [PATCH 3/7] avformat/ape: Use 64bit for final frame size

2024-05-22 Thread Michael Niedermayer
Fixes: CID1505963 Unintentional integer overflow Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavformat/ape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/ape.c b/libavformat/ape.c index c0e3e9f4fe6..f86ca5e894c 100644 ---

[FFmpeg-devel] [PATCH 2/7] avformat/ac4dec: Check remaining space in ac4_probe()

2024-05-22 Thread Michael Niedermayer
Fixes: CID1538298 Untrusted loop bound Fixes: undefined behavior Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavformat/ac4dec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/ac4dec.c b/libavformat/ac4dec.c index f647f557ccd..dc6638de3a4 100644

[FFmpeg-devel] [PATCH 1/7] avdevice/pulse_audio_enc: Use av_rescale() to avoid integer overflow

2024-05-22 Thread Michael Niedermayer
Fixes: CID1503075 Unintentional integer overflow Sponsored-by: Sovereign Tech Fund Signed-off-by: Michael Niedermayer --- libavdevice/pulse_audio_enc.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libavdevice/pulse_audio_enc.c b/libavdevice/pulse_audio_enc.c

Re: [FFmpeg-devel] [PATCH 2/5] avfilter/af_atempo: Simplify resetting

2024-05-22 Thread Pavel Koshevoy
On Wed, May 22, 2024, 02:59 Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > The earlier code distinguished between a partial reset > (yae_clear()) and a complete reset (yae_release_buffers() > which also releases the buffers); this separation existed > to avoid allocations, as

Re: [FFmpeg-devel] [PATCH v5 1/2][GSoC 2024] libavcodec/x86/vvc: Add AVX2 DMVR SAD functions for VVC

2024-05-22 Thread James Almer
On 5/21/2024 10:01 PM, Ronald S. Bultje wrote: Hi, On Tue, May 21, 2024 at 8:01 PM Stone Chen wrote: Implements AVX2 DMVR (decoder-side motion vector refinement) SAD functions. DMVR SAD is only calculated if w >= 8, h >= 8, and w * h > 128. To reduce complexity, SAD is only calculated on

Re: [FFmpeg-devel] [PATCH v5 2/2][GSoC 2024] tests/checkasm: Add check_vvc_sad to vvc_mc.c

2024-05-22 Thread James Almer
On 5/21/2024 10:12 PM, Ronald S. Bultje wrote: Hi, On Tue, May 21, 2024 at 8:01 PM Stone Chen wrote: Adds checkasm for DMVR SAD AVX2 implementation. Benchmarks ( AMD 7940HS ) vvc_sad_8x8_c: 50.3 vvc_sad_8x8_avx2: 0.3 vvc_sad_16x16_c: 250.3 vvc_sad_16x16_avx2: 10.3 vvc_sad_32x32_c: 1020.3

Re: [FFmpeg-devel] [PATCH v5 1/2][GSoC 2024] libavcodec/x86/vvc: Add AVX2 DMVR SAD functions for VVC

2024-05-22 Thread James Almer
On 5/22/2024 2:02 AM, Andreas Rheinhardt wrote: Stone Chen: Implements AVX2 DMVR (decoder-side motion vector refinement) SAD functions. DMVR SAD is only calculated if w >= 8, h >= 8, and w * h > 128. To reduce complexity, SAD is only calculated on even rows. This is calculated for all video

Re: [FFmpeg-devel] [PATCH] lavc/rv34dsp: optimise R-V V idct_dc_add

2024-05-22 Thread Rémi Denis-Courmont
Le 22 mai 2024 23:28:54 GMT+03:00, "Rémi Denis-Courmont" a écrit : >This removes one stray LI and reworks the vector arithmetic to avoid >changing the vector configuration. On K230, this takes the 46.5 cycle >count down from 46.5 to 43.5. >--- > libavcodec/riscv/rv34dsp_rvv.S | 13

[FFmpeg-devel] [PATCH] lavc/rv34dsp: optimise R-V V idct_dc_add

2024-05-22 Thread Rémi Denis-Courmont
This removes one stray LI and reworks the vector arithmetic to avoid changing the vector configuration. On K230, this takes the 46.5 cycle count down from 46.5 to 43.5. --- libavcodec/riscv/rv34dsp_rvv.S | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git

Re: [FFmpeg-devel] [PATCH v2 8/8] aacdec: add a decoder for AAC USAC (xHE-AAC)

2024-05-22 Thread Lynne via ffmpeg-devel
On 22/05/2024 22:15, Marton Balint wrote: On Wed, 22 May 2024, Lynne via ffmpeg-devel wrote: On 21/05/2024 23:33, Hendrik Leppkes wrote:  On Tue, May 21, 2024 at 9:52 PM Lynne via ffmpeg-devel   wrote:  It should be the case here, we shouldn't need reordering as NATIVE just  lets you

Re: [FFmpeg-devel] [PATCH v2 8/8] aacdec: add a decoder for AAC USAC (xHE-AAC)

2024-05-22 Thread Marton Balint
On Wed, 22 May 2024, Lynne via ffmpeg-devel wrote: On 21/05/2024 23:33, Hendrik Leppkes wrote: On Tue, May 21, 2024 at 9:52 PM Lynne via ffmpeg-devel wrote: It should be the case here, we shouldn't need reordering as NATIVE just lets you specify what order the elements appear in the

[FFmpeg-devel] [PATCH v2 13/13] avformat/flvdec: support all multi-track modes

2024-05-22 Thread Timo Rothenpieler
--- libavformat/flvdec.c | 574 +++ 1 file changed, 311 insertions(+), 263 deletions(-) diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index 4f98ff348c..fe5a44a715 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -1273,6 +1273,7 @@

Re: [FFmpeg-devel] [PATCH 13/13] avformat/flvdec: support all multi-track modes

2024-05-22 Thread Timo Rothenpieler
On 22.05.2024 02:02, Michael Niedermayer wrote: On Tue, May 21, 2024 at 11:02:22AM +0200, Timo Rothenpieler wrote: --- libavformat/flvdec.c | 570 +++ 1 file changed, 306 insertions(+), 264 deletions(-) infinite loops [flv @ 0x555e803d2940] Video

[FFmpeg-devel] [PATCH] avcodec/h265_metadata: Add option to set width/height after crop

2024-05-22 Thread Zhao Zhili
From: Zhao Zhili It's a common usecase to request a video size after crop. Before this patch, user must know the video size before crop, then set crop_right/crop_bottom accordingly. Since HEVC can have different CTU size, it's not easy to get/deduce the video size before crop. With the new

Re: [FFmpeg-devel] [PATCH] lavc/vp9: set update_map to 0 when segmentation.enabled is 0

2024-05-22 Thread Ronald S. Bultje
Hi, On Wed, May 22, 2024 at 1:28 PM Hendrik Leppkes wrote: > On Wed, May 22, 2024 at 7:16 PM Lynne via ffmpeg-devel > wrote: > > I'd hate to apply fixes with no information in shared code. This can get > > removed with no information about what relies on it. > > Changing 5 different hwaccel

Re: [FFmpeg-devel] [PATCH] tests/checkasm/vvc_alf: Don't use declare_func_emms

2024-05-22 Thread Martin Storsjö
On Wed, 22 May 2024, Andreas Rheinhardt wrote: VVC does not have MMX code at all, so one can use the stricter declare_func to also check that the MMX state has not been clobbered with (which would be an ABI violation). Signed-off-by: Andreas Rheinhardt --- tests/checkasm/vvc_alf.c | 4 ++-- 1

Re: [FFmpeg-devel] [PATCH] lavc/vp9: set update_map to 0 when segmentation.enabled is 0

2024-05-22 Thread Hendrik Leppkes
On Wed, May 22, 2024 at 7:16 PM Lynne via ffmpeg-devel wrote: > > On 22/05/2024 18:17, Philip Langdale via ffmpeg-devel wrote: > > On Wed, 22 May 2024 11:10:31 -0400 > > "Ronald S. Bultje" wrote: > > > >> Hi, > >> > >> On Wed, May 22, 2024 at 10:36 AM Hendrik Leppkes > >> wrote: > >> > >>> On

Re: [FFmpeg-devel] [PATCH] lavc/vp9: set update_map to 0 when segmentation.enabled is 0

2024-05-22 Thread Lynne via ffmpeg-devel
On 22/05/2024 18:17, Philip Langdale via ffmpeg-devel wrote: On Wed, 22 May 2024 11:10:31 -0400 "Ronald S. Bultje" wrote: Hi, On Wed, May 22, 2024 at 10:36 AM Hendrik Leppkes wrote: On Thu, Feb 29, 2024 at 7:19 AM llyyr wrote: segmentation.update_map is never reset to 0 on a new frame,

[FFmpeg-devel] [PATCH] tests/checkasm/vvc_alf: Don't use declare_func_emms

2024-05-22 Thread Andreas Rheinhardt
VVC does not have MMX code at all, so one can use the stricter declare_func to also check that the MMX state has not been clobbered with (which would be an ABI violation). Signed-off-by: Andreas Rheinhardt --- tests/checkasm/vvc_alf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [FFmpeg-devel] [PATCH v4 4/4] lavf: Add documentation for private "Context" classes

2024-05-22 Thread Andrew Sayers
On Wed, May 22, 2024 at 05:24:36PM +0200, Andreas Rheinhardt wrote: > These structures should be renamed instead of adding these comments > (which are pointless for internal developers). I just sent a patch for that. > Thanks for pointing out the issue. Oh, great! So the next version of this

Re: [FFmpeg-devel] [PATCH] lavc/vp9: set update_map to 0 when segmentation.enabled is 0

2024-05-22 Thread Philip Langdale via ffmpeg-devel
On Wed, 22 May 2024 11:10:31 -0400 "Ronald S. Bultje" wrote: > Hi, > > On Wed, May 22, 2024 at 10:36 AM Hendrik Leppkes > wrote: > > > On Thu, Feb 29, 2024 at 7:19 AM llyyr wrote: > > > > > > segmentation.update_map is never reset to 0 on a new frame, and > > > retains the value from the

Re: [FFmpeg-devel] [PATCH v4 1/4] doc: Explain what "context" means

2024-05-22 Thread Andrew Sayers
On Wed, May 22, 2024 at 11:31:52AM +0200, Stefano Sabatini wrote: > Sorry for the slow reply. Welcome back :) I've gathered some critiques of my own over the past week, which I'll pepper throughout the reply. Starting with... The document assumes (or is at least designed to be secure against)

[FFmpeg-devel] [PATCH v3 0/2] avcodec/dovi - correctly read el_bit_depth_minus8 and ext_mapping_idc

2024-05-22 Thread Cosmin Stejerean via ffmpeg-devel
From: Cosmin Stejerean Some DolbyVision samples fail to parse currently due to mis-reading the el_bit_depth_minus8 field. Upon investigation it seems that the RPU syntax has been extended in an as of yet undocumented way by adding ext_mapping_idc and coding it together with el_bit_depth_minus8

[FFmpeg-devel] [PATCH v3 2/2] avcodec/dovi - correctly read el_bit_depth_minus8 and ext_mapping_idc

2024-05-22 Thread Cosmin Stejerean via ffmpeg-devel
From: Cosmin Stejerean These two fields are coded together into a single 16 bit integer with upper 8 bits for ext_mapping_idc and lower 8 bits for el_bit_depth_minus8. Furthermore ext_mapping_idc has two components, upper 3 bits and lower 5 bits. --- libavcodec/dovi_rpudec.c | 7 ++-

[FFmpeg-devel] [PATCH v3 1/2] lavu/dovi_meta - add fields for ext_mapping_idc

2024-05-22 Thread Cosmin Stejerean via ffmpeg-devel
From: Cosmin Stejerean --- libavutil/dovi_meta.h | 2 ++ libavutil/version.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libavutil/dovi_meta.h b/libavutil/dovi_meta.h index e10332f8d7..e168075a24 100644 --- a/libavutil/dovi_meta.h +++ b/libavutil/dovi_meta.h @@ -91,6

Re: [FFmpeg-devel] [PATCH v2] avcodec/dovi - correctly read el_bit_depth_minus8 and ext_mapping_idc

2024-05-22 Thread Cosmin Stejerean via ffmpeg-devel
> On May 21, 2024, at 9:19 PM, Andreas Rheinhardt > wrote: > > Cosmin Stejerean via ffmpeg-devel: >> From: Cosmin Stejerean >> >> These two fields are coded together into a single 16 bit integer with upper 8 >> bits for ext_mapping_idc and lower 8 bits for el_bit_depth_minus8. >> >>

Re: [FFmpeg-devel] [PATCH v4 4/4] lavf: Add documentation for private "Context" classes

2024-05-22 Thread Andreas Rheinhardt
Andrew Sayers: > Doxygen thinks any text like "Context for foo" is a link to a struct called > "Context". > Add a description and a better link, to avoid confusing readers. > --- > libavformat/async.c | 3 +++ > libavformat/cache.c | 3 +++ > 2 files changed, 6 insertions(+) > > diff --git

[FFmpeg-devel] [PATCH] avformat/async, cache: Use more unique context names

2024-05-22 Thread Andreas Rheinhardt
Otherwise Doxygen thinks any text like "Context for foo" is a link to the async protocol's struct called "Context". Reported-by: Andrew Sayers Signed-off-by: Andreas Rheinhardt --- libavformat/async.c | 22 +++--- libavformat/cache.c | 18 +- 2 files changed, 20

Re: [FFmpeg-devel] [PATCH] lavc/vp9: set update_map to 0 when segmentation.enabled is 0

2024-05-22 Thread Ronald S. Bultje
Hi, On Wed, May 22, 2024 at 10:36 AM Hendrik Leppkes wrote: > On Thu, Feb 29, 2024 at 7:19 AM llyyr wrote: > > > > segmentation.update_map is never reset to 0 on a new frame, and retains > > the value from the previous frame. This bugs out a bunch of hwaccel > > drivers when

Re: [FFmpeg-devel] [PATCH v4 4/4] lavf: Add documentation for private "Context" classes

2024-05-22 Thread Andrew Sayers
On Wed, May 22, 2024 at 12:08:29PM +0200, Stefano Sabatini wrote: > On date Wednesday 2024-05-15 16:54:22 +0100, Andrew Sayers wrote: > > Doxygen thinks any text like "Context for foo" is a link to a struct called > > "Context". > > Add a description and a better link, to avoid confusing readers.

Re: [FFmpeg-devel] [PATCH] lavc/vp9: set update_map to 0 when segmentation.enabled is 0

2024-05-22 Thread Hendrik Leppkes
On Thu, Feb 29, 2024 at 7:19 AM llyyr wrote: > > segmentation.update_map is never reset to 0 on a new frame, and retains > the value from the previous frame. This bugs out a bunch of hwaccel > drivers when segmentation.enabled is 0 but update_map isn't because > they don't ignore values behind

Re: [FFmpeg-devel] [PATCH] avformat/mov: store sample_sizes as unsigned ints

2024-05-22 Thread James Almer
On 5/19/2024 10:41 PM, James Almer wrote: As defined in Section 8.7.3.2.1 of ISO 14496-12. Any unsupported value will be rejected in mov_build_index() without outright aborting demuxing. Fixes ticket #11005. Signed-off-by: James Almer --- libavformat/isom.h | 2 +- libavformat/mov.c | 4

Re: [FFmpeg-devel] [PATCH] avformat/vvc: fix parsing sps_subpic_id

2024-05-22 Thread James Almer
On 5/19/2024 10:25 AM, James Almer wrote: The length of the sps_subpic_id[i] syntax element is sps_subpic_id_len_minus1 + 1 bits. Signed-off-by: James Almer --- libavformat/vvc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavformat/vvc.c b/libavformat/vvc.c

Re: [FFmpeg-devel] 回复: [PATCH] x86/vvc_alf: use the x86inc instruction macros

2024-05-22 Thread Nuo Mi
On Wed, May 22, 2024 at 12:29 AM Wu Jianhua wrote: > > 发件人: ffmpeg-devel 代表 James Almer < > jamr...@gmail.com> > > 发送时间: 2024年5月21日 6:52 > > 收件人: ffmpeg-devel@ffmpeg.org > > 主题: [FFmpeg-devel] [PATCH] x86/vvc_alf: use the x86inc instruction macros > > > > Let its magic figure out the correct

Re: [FFmpeg-devel] [PATCH v3 1/3] doc: Explain what "context" means

2024-05-22 Thread Andrew Sayers
On Wed, May 22, 2024 at 12:37:37PM +0200, Stefano Sabatini wrote: > On date Sunday 2024-05-05 22:04:36 +0100, Andrew Sayers wrote: > > I'm still travelling, so the following thoughts might be a bit > > half-formed. But I wanted to get some feedback before sitting down > > for a proper think. >

Re: [FFmpeg-devel] [RFC PATCH 2/2] tests/fate/source-check: Relax BSD licence check

2024-05-22 Thread Rémi Denis-Courmont
Le 22 mai 2024 14:04:50 GMT+03:00, Andreas Rheinhardt a écrit : >Several files already had standard license header (namely >2-clause BSD files), yet due to the 80 char line length limit, >they were not treated as such by source-check.sh (which >fate-source uses). Therefore relax the BSD check.

Re: [FFmpeg-devel] [RFC] STF 2025

2024-05-22 Thread Rémi Denis-Courmont
Le 22 mai 2024 00:34:03 GMT+03:00, Thilo Borgmann via ffmpeg-devel a écrit : >>> I hope you realize what you argue in favor of. >> >> Yes. It's quoted above. >> >> Are you claiming that *no* review is better than *some* review done in >> *public* for all to see by a paid professional just

[FFmpeg-devel] [RFC PATCH 2/2] tests/fate/source-check: Relax BSD licence check

2024-05-22 Thread Andreas Rheinhardt
Several files already had standard license header (namely 2-clause BSD files), yet due to the 80 char line length limit, they were not treated as such by source-check.sh (which fate-source uses). Therefore relax the BSD check. Signed-off-by: Andreas Rheinhardt --- This is the first variant. The

[FFmpeg-devel] [RFC PATCH] all: Adapt BSD license headers to avoid fate-source exceptions

2024-05-22 Thread Andreas Rheinhardt
This is against the 80 char line length limit, but it is not a hard rule anyway. Signed-off-by: Andreas Rheinhardt --- This is an alternative to modifying check-source.sh (for which I also sent a patch). doc/mips.txt | 5 ++--- libavcodec/aacsbr_fixed.c

[FFmpeg-devel] [PATCH 1/2] doc/mips: Update list of files with MIPS copyright notice

2024-05-22 Thread Andreas Rheinhardt
E.g. the AAC stuff has been removed in 03cf10164578aed33f4d0cb5b69d63669c01a538. Signed-off-by: Andreas Rheinhardt --- Alternatively, we could just nuke this file. doc/mips.txt | 6 -- 1 file changed, 6 deletions(-) diff --git a/doc/mips.txt b/doc/mips.txt index d66ce3b447..a42546f0cd

Re: [FFmpeg-devel] [PATCH v3 1/3] doc: Explain what "context" means

2024-05-22 Thread Stefano Sabatini
On date Sunday 2024-05-05 22:04:36 +0100, Andrew Sayers wrote: > I'm still travelling, so the following thoughts might be a bit > half-formed. But I wanted to get some feedback before sitting down > for a proper think. [...] > > > I've also gone through the code looking for edge cases we haven't

Re: [FFmpeg-devel] [PATCH v4 4/4] lavf: Add documentation for private "Context" classes

2024-05-22 Thread Stefano Sabatini
On date Wednesday 2024-05-15 16:54:22 +0100, Andrew Sayers wrote: > Doxygen thinks any text like "Context for foo" is a link to a struct called > "Context". > Add a description and a better link, to avoid confusing readers. > --- > libavformat/async.c | 3 +++ > libavformat/cache.c | 3 +++ > 2

Re: [FFmpeg-devel] [PATCH v4 2/4] lavu: Clarify relationship between AVClass, AVOption and context

2024-05-22 Thread Stefano Sabatini
On date Wednesday 2024-05-15 16:54:20 +0100, Andrew Sayers wrote: > --- > libavutil/log.h | 11 --- > libavutil/opt.h | 7 --- > 2 files changed, 12 insertions(+), 6 deletions(-) > > diff --git a/libavutil/log.h b/libavutil/log.h > index ab7ceabe22..cfbf416679 100644 > ---

Re: [FFmpeg-devel] [PATCH v4 1/4] doc: Explain what "context" means

2024-05-22 Thread Stefano Sabatini
Sorry for the slow reply. On date Wednesday 2024-05-15 16:54:19 +0100, Andrew Sayers wrote: > Derived from detailed explanations kindly provided by Stefano Sabatini: > https://ffmpeg.org/pipermail/ffmpeg-devel/2024-April/325903.html > --- > doc/context.md | 394

Re: [FFmpeg-devel] [PATCH v2] lavf/dash: Forward strict flag to component demuxers

2024-05-22 Thread Andreas Rheinhardt
Frank Plowman: > Before the patch, opening a DASH file containing streams which require > experimental decoders was problematic. No matter where the -strict -2 > was put on the command line, the option was not passed to the demuxer > for that component. This resulted in an error, prompting the

Re: [FFmpeg-devel] [PATCH] lavf/dash: Forward strict flag to component demuxers

2024-05-22 Thread Frank Plowman
Thanks for your review Andreas. On 20/05/2024 21:41, Andreas Rheinhardt wrote: > Frank Plowman: >> Before the patch, opening a DASH file containing streams which require >> experimental decoders was problematic. No matter where the -strict -2 >> was put on the command line, the option was not

[FFmpeg-devel] [PATCH v2] lavf/dash: Forward strict flag to component demuxers

2024-05-22 Thread Frank Plowman
Before the patch, opening a DASH file containing streams which require experimental decoders was problematic. No matter where the -strict -2 was put on the command line, the option was not passed to the demuxer for that component. This resulted in an error, prompting the user to add the -strict

[FFmpeg-devel] [PATCH 5/5] avformat/riffenc: Fix outdated comment

2024-05-22 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/riffenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/riffenc.c b/libavformat/riffenc.c index 8accb69541..59c9932c36 100644 --- a/libavformat/riffenc.c +++ b/libavformat/riffenc.c @@ -72,7 +72,7 @@ int

[FFmpeg-devel] [PATCH 4/5] avformat/matroskaenc: Check ff_put_wav_header() failure

2024-05-22 Thread Andreas Rheinhardt
Fixes Coverity issue #1506706. Signed-off-by: Andreas Rheinhardt --- libavformat/matroskaenc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 63bae9fe1c..76c542d50b 100644 --- a/libavformat/matroskaenc.c +++

[FFmpeg-devel] [PATCH 3/5] avfilter/af_atempo: Fix indentation

2024-05-22 Thread Andreas Rheinhardt
Forgotten after b8f74ee57a6e9e75a507adcddf30f84dd4a39d39. Signed-off-by: Andreas Rheinhardt --- libavfilter/af_atempo.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/libavfilter/af_atempo.c b/libavfilter/af_atempo.c index

[FFmpeg-devel] [PATCH 2/5] avfilter/af_atempo: Simplify resetting

2024-05-22 Thread Andreas Rheinhardt
The earlier code distinguished between a partial reset (yae_clear()) and a complete reset (yae_release_buffers() which also releases the buffers); this separation existed to avoid allocations, as buffers were reallocated on reconfigs. Yet it is pointless since

[FFmpeg-devel] [PATCH 1/5] avfilter/af_atempo: Properly check av_tx_init()

2024-05-22 Thread Andreas Rheinhardt
Fixes Coverity issue #1516804. Signed-off-by: Andreas Rheinhardt --- libavfilter/af_atempo.c | 15 +-- 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/libavfilter/af_atempo.c b/libavfilter/af_atempo.c index 0c36eb4dd7..1aedb82060 100644 --- a/libavfilter/af_atempo.c