Re: [FFmpeg-devel] [PATCH v7] libavfilter/x86/vf_convolution: add sobel filter optimization and unit test with intel AVX512 VNNI

2022-11-06 Thread Xiang, Haihao
On Fri, 2022-11-04 at 16:29 +0800, bin.wang-at-intel@ffmpeg.org wrote: > From: bwang30 > > This commit enabled assembly code with intel AVX512 VNNI and added unit test > for sobel filter > > sobel_c: 4537 > sobel_avx512icl 2136 > > Signed-off-by: bwang30 > --- > libavfilter/convolution.h

Re: [FFmpeg-devel] [PATCH v2 01/11] avfilter/overlay_vaapi: use FILTER_SINGLE_PIXFMT

2022-11-06 Thread Xiang, Haihao
On Fri, 2022-11-04 at 02:07 +, Xiang, Haihao wrote: > On Mon, 2022-10-31 at 06:19 +, softworkz wrote: > > From: softworkz > > > > Signed-off-by: softworkz > > --- > > libavfilter/vf_overlay_vaapi.c | 30 +- > > 1 file changed, 1 insertion(+), 29 deletions(-)

Re: [FFmpeg-devel] [PATCH 1/2] libavcodec/qsvenc_hevc: add tier option

2022-11-06 Thread Xiang, Haihao
On Wed, 2022-11-02 at 01:58 +0800, nyanmisaka wrote: > Without this change, MSDK/VPL always defaults the HEVC tier to MAIN if the > -level is specified. > Also, according to the HEVC specs, only level >= 4 can support High Tier. > > Signed-off-by: nyanmisaka > --- > libavcodec/qsvenc.c | 5

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvenc: Add skip_frame support to qsvenc

2022-11-06 Thread Xiang, Haihao
On Wed, 2022-11-02 at 16:11 +0800, wenbin.chen-at-intel@ffmpeg.org wrote: > From: Wenbin Chen > > Add skip_frame support to qsvenc. Use per-frame metadata > "qsv_skip_frame" to control it. skip_frame option defines the behavior > of qsv_skip_frame. > no_skip: Frame skipping is disabled. >

Re: [FFmpeg-devel] [PATCH v3 05/10] avformat: add demuxer and probe support for H266/VVC

2022-11-06 Thread myp...@gmail.com
On Thu, Nov 3, 2022 at 8:23 PM Thomas Siedel wrote: > > Add demuxer to probe raw vvc and parse vvcc byte stream format. > > Signed-off-by: Thomas Siedel > --- > libavformat/Makefile | 1 + > libavformat/allformats.c | 1 + > libavformat/demux.c | 7 +- > libavformat/vvc.c

[FFmpeg-devel] [PATCH 5/5] avcodec/clearvideo: Avoid allocations when decoding tiles

2022-11-06 Thread Andreas Rheinhardt
Up until now, the ClearVideo decoder separates parsing tiles and actually using the parsed information: The information is instead stored in structures which are constantly allocated and freed. This commit changes this to use the information immediately, avoiding said allocations. This e.g.

[FFmpeg-devel] [PATCH 4/5] avcodec/clearvideo: Use const where appropriate

2022-11-06 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/clearvideo.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/libavcodec/clearvideo.c b/libavcodec/clearvideo.c index 11ae6ca9ad..d3cbd71f72 100644 --- a/libavcodec/clearvideo.c +++ b/libavcodec/clearvideo.c @@

[FFmpeg-devel] [PATCH 3/5] avcodec/clearvideo: Redo updating predicition

2022-11-06 Thread Andreas Rheinhardt
This is in preparation for further commits. Signed-off-by: Andreas Rheinhardt --- libavcodec/clearvideo.c | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/libavcodec/clearvideo.c b/libavcodec/clearvideo.c index 6ea3d7b6a2..11ae6ca9ad 100644 ---

[FFmpeg-devel] [PATCH 2/5] avcodec/clearvideo: Move tile_do_block() upwards

2022-11-06 Thread Andreas Rheinhardt
Will avoid a forward-declaration later. Signed-off-by: Andreas Rheinhardt --- libavcodec/clearvideo.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/libavcodec/clearvideo.c b/libavcodec/clearvideo.c index 82311bc645..6ea3d7b6a2 100644 ---

[FFmpeg-devel] [PATCH 1/5] avcodec/clearvideo: Remove unnecessary level parameter

2022-11-06 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/clearvideo.c | 23 +++ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/libavcodec/clearvideo.c b/libavcodec/clearvideo.c index 4d6549560b..82311bc645 100644 --- a/libavcodec/clearvideo.c +++

Re: [FFmpeg-devel] [PATCH] fftools/ffprobe: Loop over correct number of streams when flushing decoders

2022-11-06 Thread Stefano Sabatini
On Sun, Nov 6, 2022 at 12:23 PM Derek Buitenhuis wrote: > > On 11/3/2022 3:17 PM, Derek Buitenhuis wrote: > > --- > > fftools/ffprobe.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > Ping. >FFprobe does check for this an reallocate anD reallocate LGTM, thanks.

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/dts2pts_bsf: Check ctx for NULL before ff_cbs_flush()

2022-11-06 Thread James Almer
On 11/5/2022 5:16 PM, Michael Niedermayer wrote: Fixes: null pointer dereference Fixes: 52155/clusterfuzz-testcase-minimized-ffmpeg_BSF_DTS2PTS_fuzzer-5760107527143424 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Remove experimental status of TrueHD-in-MP4 muxing (mlpa)

2022-11-06 Thread Carl Eugen Hoyos
Am Sa., 5. Nov. 2022 um 22:31 Uhr schrieb Nomis101 : > > Support for mlpa muxing was added back in 2019: > http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=808a6717e0c584738c60a109afd6d47f4973d619 > But it was hidden back then behind FF_COMPLIANCE_EXPERIMENTAL, because it was > new and there

Re: [FFmpeg-devel] [RFC]lavc/tiff: Support dng cropping

2022-11-06 Thread Carl Eugen Hoyos
Am Mo., 31. Okt. 2022 um 13:39 Uhr schrieb Anton Khirnov : > > Quoting Carl Eugen Hoyos (2022-10-23 20:46:57) > > Am So., 23. Okt. 2022 um 16:35 Uhr schrieb Carl Eugen Hoyos > > : > > > > > > Hi! > > > > > > I tried to implement dng cropping, it unfortunately can only work with > > > -flags

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Remove experimental status of TrueHD-in-MP4 muxing (mlpa)

2022-11-06 Thread James Almer
On 11/5/2022 6:31 PM, Nomis101 wrote: Support for mlpa muxing was added back in 2019: http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=808a6717e0c584738c60a109afd6d47f4973d619 But it was hidden back then behind FF_COMPLIANCE_EXPERIMENTAL, because it was new and there was no support from

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Remove experimental status of TrueHD-in-MP4 muxing (mlpa)

2022-11-06 Thread James Almer
On 11/6/2022 6:40 PM, Nomis101 wrote: Am 05.11.22 um 21:31 schrieb Nomis101: Support for mlpa muxing was added back in 2019: http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=808a6717e0c584738c60a109afd6d47f4973d619 But it was hidden back then behind FF_COMPLIANCE_EXPERIMENTAL, because it

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Remove experimental status of TrueHD-in-MP4 muxing (mlpa)

2022-11-06 Thread Nomis101
Am 05.11.22 um 21:31 schrieb Nomis101: Support for mlpa muxing was added back in 2019: http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=808a6717e0c584738c60a109afd6d47f4973d619 But it was hidden back then behind FF_COMPLIANCE_EXPERIMENTAL, because it was new and there was no support from

[FFmpeg-devel] [PATCH 2/2] avdevice/avfoundation: convert to new channel layout-API

2022-11-06 Thread James Almer
Signed-off-by: James Almer --- Untested. libavdevice/avfoundation.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m index c9de93f774..36ad834753 100644 --- a/libavdevice/avfoundation.m +++ b/libavdevice/avfoundation.m

[FFmpeg-devel] [PATCH 1/2] avdevice/audiotoolbox: convert to new channel layout-API

2022-11-06 Thread James Almer
Signed-off-by: James Almer --- Untested. libavdevice/audiotoolbox.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavdevice/audiotoolbox.m b/libavdevice/audiotoolbox.m index 0cb97b5e46..27a1fd4a78 100644 --- a/libavdevice/audiotoolbox.m +++

[FFmpeg-devel] [PATCH 2/2]lavc/audiotoolboxdec: Support 20/24/32bit Apple Lossless decoding

2022-11-06 Thread Carl Eugen Hoyos
Hi! Attached patch allows default decoding to s32 for 20-, 24- and 32-bit alac. Please comment, Carl Eugen 0002-lavc-audiotoolboxdec-Support-20-24-32bit-Apple-Lossl.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

[FFmpeg-devel] [PATCH 1/2]lavc/audiotoolboxdec: Reorder decoder initialization

2022-11-06 Thread Carl Eugen Hoyos
Hi! Attached patch should not change decoder behaviour, it is only meant to simplify the second patch. Please comment, Carl Eugen 0001-lavc-audiotoolboxdec-Reorder-decoder-initialization.patch Description: Binary data ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH v9 00/25] Subtitle Filtering 2022

2022-11-06 Thread Soft Works
> -Original Message- > From: ffmpegagent > Sent: Tuesday, October 25, 2022 11:13 AM > To: ffmpeg-devel@ffmpeg.org > Cc: softworkz > Subject: [PATCH v9 00/25] Subtitle Filtering 2022 > > > Subtitle Filtering 2022 > === > > This is a substantial update to the

Re: [FFmpeg-devel] Rework color quantization in palette{gen,use}

2022-11-06 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Clément Bœsch > Sent: Saturday, November 5, 2022 4:26 PM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] Rework color quantization in palette{gen,use} > > Hi, > > This patchset essentially fixes a few core problems in

[FFmpeg-devel] [PATCH] avcodec: Remove unnecessary fft, dct inclusions

2022-11-06 Thread Andreas Rheinhardt
Also remove some internal.h inclusions which have been unnecessarily added recently. Signed-off-by: Andreas Rheinhardt --- libavcodec/ac3enc.c | 1 - libavcodec/ac3enc_fixed.c | 1 - libavcodec/atrac3plusdsp.c | 2 -- libavcodec/proresenc_anatoliy.c | 1 -

Re: [FFmpeg-devel] [PATCH 1/7] avcodec/bonk: Use unsigned in predictor_calc_error() to avoid undefined overflows

2022-11-06 Thread Paul B Mahol
On 11/6/22, Michael Niedermayer wrote: > Fixes: signed integer overflow: 22 * -2107998208 cannot be represented in > type 'int' > Fixes: > 51363/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_BONK_fuzzer-5660734784143360 > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] [PATCH 2/7] avcodec/bonk: Simplify read_uint_max()

2022-11-06 Thread Paul B Mahol
On 11/6/22, Michael Niedermayer wrote: > The max == 0 case can be removed too but i left it as 50% of the cases use > it > > Signed-off-by: Michael Niedermayer > --- > libavcodec/bonk.c | 11 ++- > 1 file changed, 2 insertions(+), 9 deletions(-) > > diff --git a/libavcodec/bonk.c

Re: [FFmpeg-devel] [PATCH 3/7] avcodec/bonk: Remove special 32bit case from read_uint_max()

2022-11-06 Thread Paul B Mahol
On 11/6/22, Michael Niedermayer wrote: > This case seems not to match the reference decoder and it also > seems not reachable > > Signed-off-by: Michael Niedermayer > --- > libavcodec/bonk.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/libavcodec/bonk.c

Re: [FFmpeg-devel] [PATCH 4/7] avcodec/bonk: actual_run seems not able to become negative

2022-11-06 Thread Paul B Mahol
On 11/6/22, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavcodec/bonk.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/libavcodec/bonk.c b/libavcodec/bonk.c > index fca8c246aa..99dac0b951 100644 > --- a/libavcodec/bonk.c > +++

Re: [FFmpeg-devel] [PATCH 5/7] avcodec/bonk: step cannot become 0 without overflowing which is undefined

2022-11-06 Thread Paul B Mahol
On 11/6/22, Michael Niedermayer wrote: > also the original reference code does not contain a 0 check > > Signed-off-by: Michael Niedermayer > --- > libavcodec/bonk.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/libavcodec/bonk.c b/libavcodec/bonk.c > index 99dac0b951..37ad7854b6

Re: [FFmpeg-devel] [PATCH 6/7] avcodec/bonk: Check step against overflow

2022-11-06 Thread Paul B Mahol
On 11/6/22, Michael Niedermayer wrote: > No testcase > > Signed-off-by: Michael Niedermayer > --- > libavcodec/bonk.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libavcodec/bonk.c b/libavcodec/bonk.c > index 37ad7854b6..f2427de4f1 100644 > --- a/libavcodec/bonk.c > +++

Re: [FFmpeg-devel] [PATCH 7/7] avcodec/bonk: steplet cannot become negative

2022-11-06 Thread Paul B Mahol
On 11/6/22, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavcodec/bonk.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/libavcodec/bonk.c b/libavcodec/bonk.c > index f2427de4f1..c775ed5ddf 100644 > --- a/libavcodec/bonk.c > +++

[FFmpeg-devel] [PATCH]lavf/ass: Allow empty Layer field

2022-11-06 Thread Carl Eugen Hoyos
Hi! Attached patch fixes ticket #9581 for me. Please comment, Carl Eugen 0001-lavf-ass-Allow-empty-Layer-field.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To

[FFmpeg-devel] [PATCH] avcodec/wmaprodec: Remove unused variable

2022-11-06 Thread Andreas Rheinhardt
Unused since 5fe42ea7763d24d74b596285f5daeaa203f7 (replaced by a new "err" variable). Signed-off-by: Andreas Rheinhardt --- Will apply this soon. libavcodec/wmaprodec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/wmaprodec.c b/libavcodec/wmaprodec.c index

[FFmpeg-devel] [PATCH 7/7] avfilter/vf_hqdn3d: Fix left-shift of negative numbers

2022-11-06 Thread Andreas Rheinhardt
Affected filter-hqdn3d and filter-hqdn3d-sample FATE-tests. Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_hqdn3d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_hqdn3d.c b/libavfilter/vf_hqdn3d.c index ce2b9a2974..c796ea9ab4 100644 ---

[FFmpeg-devel] [PATCH 6/7] avfilter/phase_template: Fix left-shift of negative numbers

2022-11-06 Thread Andreas Rheinhardt
Affected the filter-phase FATE-test. Signed-off-by: Andreas Rheinhardt --- libavfilter/phase_template.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/phase_template.c b/libavfilter/phase_template.c index 491612b826..8450670234 100644 ---

[FFmpeg-devel] [PATCH 5/7] avfilter/vf_qp: Don't store NAN in int

2022-11-06 Thread Andreas Rheinhardt
Affected the filter-pp2 FATE-test. Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_qp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_qp.c b/libavfilter/vf_qp.c index 7c9d60fe21..a771b51ae1 100644 --- a/libavfilter/vf_qp.c +++ b/libavfilter/vf_qp.c @@

[FFmpeg-devel] [PATCH 4/7] postproc/postprocess_template: Fix alignment

2022-11-06 Thread Andreas Rheinhardt
postProcess in postprocess_template.c copies a PPContext to the stack, works with this copy and then copies it back again. Said local copy uses a hardcoded alignment of eight, although PPContext has alignment 32 since cbe27006cee0099076d1d68af646f3ef914167d8 (this commit was in anticipation of

[FFmpeg-devel] [PATCH 3/7] swscale/utils: Remove obsolete 3DNow reference

2022-11-06 Thread Andreas Rheinhardt
swscale does not use 3DNow any more since commit 608319a311a31f7d85333a7b08286c00be38eab6. Signed-off-by: Andreas Rheinhardt --- libswscale/utils.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libswscale/utils.c b/libswscale/utils.c index 45baa22b23..85640a143f 100644 ---

[FFmpeg-devel] [PATCH 2/7] avcodec/x86/cavsdsp: Remove unused 3DNow-macro

2022-11-06 Thread Andreas Rheinhardt
Forgotten in 3221aba87989742ea22b639a7bb4af69f4eaa0e7. Signed-off-by: Andreas Rheinhardt --- libavcodec/x86/cavsdsp.c | 4 1 file changed, 4 deletions(-) diff --git a/libavcodec/x86/cavsdsp.c b/libavcodec/x86/cavsdsp.c index 4ad977a034..96680836a1 100644 --- a/libavcodec/x86/cavsdsp.c +++

[FFmpeg-devel] [PATCH 1/7] postproc/postprocess: Remove obsolete MMX(EXT)/3Dnow functions

2022-11-06 Thread Andreas Rheinhardt
postprocess.c currently has C, MMX, MMXEXT, 3DNow as well as SSE2 versions of its internal functions. But given that only ancient 32-bit x86 CPUs don't support SSE2, the MMX, MMXEXT and 3DNow versions are obsolete and are therefore removed by this commit. This saves about 56KB here. (The SSE2

[FFmpeg-devel] [PATCH 12/12] avformat/matroska: add missing elements

2022-11-06 Thread Steve Lhomme
They are not mapped into structures but the IDs and their allowed position is set properly. --- libavformat/matroska_ids.h | 93 ++ libavformat/matroskasem.c | 58 +--- libavformat/matroskasem.h | 2 +- 3 files changed, 145 insertions(+),

[FFmpeg-devel] [PATCH 11/12] avformat/matroska: only export a few elements.

2022-11-06 Thread Steve Lhomme
--- libavformat/matroskasem.c | 69 +++ libavformat/matroskasem.h | 7 +--- 2 files changed, 50 insertions(+), 26 deletions(-) diff --git a/libavformat/matroskasem.c b/libavformat/matroskasem.c index 0f4455058a..cdef0dbff4 100644 ---

[FFmpeg-devel] [PATCH 09/12] avformat/matroskasem: reorder some EbmlSyntax elements

2022-11-06 Thread Steve Lhomme
So it's easier to match with the XSLT ordering which has limited possibilities (15 max criteria for all the syntax tables). No functional changes. --- libavformat/matroskasem.c | 40 +++ 1 file changed, 20 insertions(+), 20 deletions(-) diff --git

[FFmpeg-devel] [PATCH 05/12] avformat/matroskadec: move the elements semantic in a separate file

2022-11-06 Thread Steve Lhomme
So the file can be generated from the Matroska Schema. The EbmlSyntax structures are not shared between files. matroska_segments and matroska_cluster_enter also have their size predefined. No functional changes. --- libavformat/Makefile | 2 +- libavformat/matroskadec.c | 712

[FFmpeg-devel] [PATCH 07/12] avformat/matroska_ids: reorder some IDs to match the generated order

2022-11-06 Thread Steve Lhomme
The XSLT scripts produces a similar file to this one, minus some spacing differences. No value added/removed. --- libavformat/matroska_ids.h | 106 ++--- 1 file changed, 53 insertions(+), 53 deletions(-) diff --git a/libavformat/matroska_ids.h

[FFmpeg-devel] [PATCH 06/12] avformat/matroska_ids: move some IDs in separate sections

2022-11-06 Thread Steve Lhomme
According grouped with their parent's elements. No value added/removed. Some IDs have been moved to match their parent section. Use a consistent wording in all sections. --- libavformat/matroska_ids.h | 83 ++ 1 file changed, 58 insertions(+), 25

[FFmpeg-devel] [PATCH 10/12] avformat/matroska: use the generated semantic files

2022-11-06 Thread Steve Lhomme
No functional value/added removed, only more regular spacing. --- libavformat/matroska_ids.h | 303 +++--- libavformat/matroskasem.c | 370 ++--- 2 files changed, 336 insertions(+), 337 deletions(-) diff --git a/libavformat/matroska_ids.h

[FFmpeg-devel] [PATCH 08/12] avformat/matroskasem: reorder EbmlSyntax tables

2022-11-06 Thread Steve Lhomme
So they are sorted by their EBML path, in reverse order so we don't extra declarations. No functional changes. --- libavformat/matroskasem.c | 263 +++--- 1 file changed, 132 insertions(+), 131 deletions(-) diff --git a/libavformat/matroskasem.c

[FFmpeg-devel] [PATCH 04/12] avformat/matroska: move Matroska IDs and enums in a separate header

2022-11-06 Thread Steve Lhomme
So the file can be generated from the EBML Schema. No functional change. --- libavformat/matroska.h | 314 +- libavformat/matroska_ids.h | 339 + 2 files changed, 340 insertions(+), 313 deletions(-) create mode 100644

[FFmpeg-devel] [PATCH 03/12] avformat/matroska: use more consistent spacing in enums

2022-11-06 Thread Steve Lhomme
--- libavformat/matroska.h | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/libavformat/matroska.h b/libavformat/matroska.h index 45077ed33f..1e8a91295f 100644 --- a/libavformat/matroska.h +++ b/libavformat/matroska.h @@ -296,18 +296,18 @@ typedef enum { }

[FFmpeg-devel] [PATCH 01/12] avformat/matroskadec: fix the default of the TagDefault element

2022-11-06 Thread Steve Lhomme
By default a tag is the default one. --- libavformat/matroskadec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index d582f566a2..9e756bb030 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@

[FFmpeg-devel] [PATCH 02/12] avformat/matroskadec: remove some implicit default value

2022-11-06 Thread Steve Lhomme
All integers should be initialized to 0. Make the tables more consistent by only setting non zero values, so they stand out. --- libavformat/matroskadec.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/libavformat/matroskadec.c

[FFmpeg-devel] [PATCH 00/12] Use generated semantic for Matroska demuxer

2022-11-06 Thread Steve Lhomme
From: robux4 Following an earlier version of the generated code, I reworked to code and move the generator outside of the FFmpeg source tree. The XSLT code to generate this code from the EBML Schema for Matroska can be found at https://github.com/Matroska-Org/foundation-source/pull/116 Steve

Re: [FFmpeg-devel] Rework color quantization in palette{gen,use}

2022-11-06 Thread Ronald S. Bultje
Hi, On Sat, Nov 5, 2022 at 2:54 PM Clément Bœsch wrote: > On Sat, Nov 05, 2022 at 04:44:39PM +0100, Paul B Mahol wrote: > [...] > > > Finally, I do believe a lot of other color filters could at least > benefit > > > from > > > fixing their gamma handling (I know I'm guilty of this in various

Re: [FFmpeg-devel] [PATCH] fftools/ffprobe: Loop over correct number of streams when flushing decoders

2022-11-06 Thread Derek Buitenhuis
On 11/3/2022 3:17 PM, Derek Buitenhuis wrote: > --- > fftools/ffprobe.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Ping. - Derek ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To

Re: [FFmpeg-devel] [PATCH 3/4] avcodec/bonk: Check unquant for overflow

2022-11-06 Thread Paul B Mahol
On 11/5/22, Michael Niedermayer wrote: > Fixes: signed integer overflow: -2889074 * 2048 cannot be represented in > type 'int' > Fixes: > 51363/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_BONK_fuzzer-5660734784143360 > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/bonk: Check for undefined overflow in predictor_calc_error()

2022-11-06 Thread Paul B Mahol
On 11/5/22, Michael Niedermayer wrote: > Fixes: signed integer overflow: 22 * -2107998208 cannot be represented in > type 'int' > Fixes: > 51363/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_BONK_fuzzer-5660734784143360 > > Found-by: continuous fuzzing process >