[FFmpeg-devel] [PATCH] configure: arm: Don't add -march= to the compiler if no preference was passed

2021-09-20 Thread Martin Storsjö
If no --cpu= option was passed to configure, we detect what the compiler defaults to. This detected value was then fed back to the rest of the configure logic, as if it was an explicit choice. This breaks on Ubuntu 21.10 with GCC 11.1. Since GCC 8, it's possible to add configure extra features vi

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mlpenc: fix encoding stereo single stream in TrueHD

2021-09-20 Thread Anton Khirnov
Quoting Paul B Mahol (2021-09-18 19:21:05) > Signed-off-by: Paul B Mahol > --- > libavcodec/mlpenc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Sure would be nice to have tests. -- Anton Khirnov ___ ffmpeg-devel mailing list ffmpeg-devel

Re: [FFmpeg-devel] [PATCH v2 1/2] avformat/utils: Add av_stream_get_codec_properties()

2021-09-20 Thread Anton Khirnov
Quoting Soft Works (2021-09-19 00:08:18) > Signed-off-by: softworkz > --- > doc/APIchanges | 3 +++ > libavformat/avformat.h | 9 + > libavformat/utils.c| 5 + > libavformat/version.h | 2 +- > 4 files changed, 18 insertions(+), 1 deletion(-) > > diff --git a/doc/APIchan

Re: [FFmpeg-devel] [PATCH v2 2/2] ffprobe: Fix incorrect display of closed_captions property

2021-09-20 Thread Anton Khirnov
Quoting James Almer (2021-09-19 15:04:11) > > Yes, something like that could be forced (ReadInterval in ffprobe). > > > > > What you're essentially suggesting is more or less a duplication > > of avformat_find_stream_info() and to run it right after > > avformat_find_stream_info() has just been

Re: [FFmpeg-devel] [PATCH] avcodec: add native Speex decoder

2021-09-20 Thread Anton Khirnov
Quoting Paul B Mahol (2021-09-19 12:01:06) > Signed-off-by: Paul B Mahol > --- > libavcodec/Makefile|1 + > libavcodec/allcodecs.c |1 + > libavcodec/speexdata.h | 764 > libavcodec/speexdec.c | 1538 > tests/ref/fate/sou

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/cbs_h265_syntax_template: Limit sps_num_palette_predictor_initializer_minus1 to 127

2021-09-20 Thread James Almer
On 9/19/2021 5:35 PM, Michael Niedermayer wrote: Fixes: index 128 out of bounds for type 'uint16_t [128]' Fixes: 38651/clusterfuzz-testcase-minimized-ffmpeg_BSF_HEVC_METADATA_fuzzer-6296416058736640 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ff

Re: [FFmpeg-devel] [PATCH v2 2/2] ffprobe: Fix incorrect display of closed_captions property

2021-09-20 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of Anton > Khirnov > Sent: Monday, 20 September 2021 13:07 > To: James Almer ; ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v2 2/2] ffprobe: Fix incorrect display of > closed_captions property > > Quoting James Almer (2

Re: [FFmpeg-devel] [PATCH v2 2/2] ffprobe: Fix incorrect display of closed_captions property

2021-09-20 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of Anton > Khirnov > Sent: Monday, 20 September 2021 13:07 > To: James Almer ; ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v2 2/2] ffprobe: Fix incorrect display of > closed_captions property > > Quoting James Almer (

[FFmpeg-devel] [PATCH v3 3/5] avformat/{aviobuf, avio_internal}: add max_len argument to ff_read_string_to_bprint_overwrite

2021-09-20 Thread Jan Ekström
From: Jan Ekström This is especially useful when reading things such as null-terminated strings from MOV/MP4-likes, where the size of the box is known, but not the exact size of the string. Signed-off-by: Jan Ekström --- libavformat/avio_internal.h | 13 ++--- libavformat/aviobuf.c

[FFmpeg-devel] [PATCH v3 5/5] avformat/{isom, movenc}: add kind box compatibility mode for Unified Origin

2021-09-20 Thread Jan Ekström
From: Jan Ekström Unfortunately the current production versions of this software do not 100% adhere to the CMAF specification, and have decided to utilize the HTML5 media track identifier for audio descriptions. This way the default mode of operation is according to the CMAF specification, but i

[FFmpeg-devel] [PATCH v3 2/5] avformat/{aviobuf, avio_internal}: add ff_read_string_to_bprint_overwrite

2021-09-20 Thread Jan Ekström
From: Jan Ekström For now, same as ff_read_line_to_bprint_overwrite, but reads until the end of a null-terminated string. Signed-off-by: Jan Ekström --- libavformat/avio_internal.h | 12 libavformat/aviobuf.c | 5 + 2 files changed, 17 insertions(+) diff --git a/libavf

[FFmpeg-devel] [PATCH v3 1/5] avformat/aviobuf: add a full string reading mode to read_line_to_bprint

2021-09-20 Thread Jan Ekström
From: Jan Ekström Additionally: * rename it to read_string_to_bprint * split most of ff_read_line_to_bprint_overwrite into an internal function which can then be utilized to implement other functionality without duplicating code. Signed-off-by: Jan Ekström --- libavformat/aviobuf.c | 24 ++

[FFmpeg-devel] [PATCH v3 0/5] Support for stream dispositions in MP4

2021-09-20 Thread Jan Ekström
Compared to v2: * aviobuf changes to make a function useful in MP4 null-delimited string parsing into AVBPrint. ** Extended read_line_to_bprint to be a more generic read_string_to_bprint. ** Added a maximum length argument to read_string_to_bprint. ** Added a new function ff_read_string_to_bprint

[FFmpeg-devel] [PATCH v3 4/5] avformat/{isom, mov, movenc}: add support for CMAF DASH roles

2021-09-20 Thread Jan Ekström
From: Jan Ekström This information is coded in a standard MP4 KindBox and utilizes the scheme and values as per the DASH role scheme defined in MPEG-DASH. Other schemes are technically allowed, but where multiple schemes define the same concepts, the DASH scheme should be utilized. Such flagging

[FFmpeg-devel] [PATCH] avfilter: add morpho filter

2021-09-20 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 32 ++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_morpho.c | 865 +++ 4 files changed, 899 insertions(+) create mode 100644 libavfilter/vf_morpho.c diff --git

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mlpenc: fix encoding stereo single stream in TrueHD

2021-09-20 Thread Paul B Mahol
On Mon, Sep 20, 2021 at 12:56 PM Anton Khirnov wrote: > Quoting Paul B Mahol (2021-09-18 19:21:05) > > Signed-off-by: Paul B Mahol > > --- > > libavcodec/mlpenc.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > Sure would be nice to have tests. > Too soon, encoder is still experi

Re: [FFmpeg-devel] [PATCH] avfilter: add morpho filter

2021-09-20 Thread Andreas Rheinhardt
Paul B Mahol: > Signed-off-by: Paul B Mahol > --- > +static int query_formats(AVFilterContext *ctx) > +{ > +static const enum AVPixelFormat pix_fmts[] = { > +AV_PIX_FMT_YUVA444P, AV_PIX_FMT_YUV444P, AV_PIX_FMT_YUV440P, > +AV_PIX_FMT_YUVJ444P, AV_PIX_FMT_YUVJ440P, > +AV_

[FFmpeg-devel] Westwood VQA3 demuxer additions

2021-09-20 Thread Pekka Väänänen
Greetings! This small patch is required for high color 15-bit Westwood VQA3 videos to be decoded properly. It just saves an offset of a VQFL chunk when it sees one and then concatenates it with the packet of a later VQFR chunk that contains full frame data. This way the (yet-to-be-merged) VQA3 dec

[FFmpeg-devel] [PATCH] avformat/westwood_vqa: Store VQFL codebook chunks

2021-09-20 Thread Pekka Väänänen
High color 15-bit VQA3 video streams contain high level chunks with only codebook updates that shouldn't be considered new frames. Now the demuxer stores a reference to such VQFL chunks and returns them later along with a VQFR chunk with full frame data. --- libavformat/westwood_vqa.c | 49 +++

Re: [FFmpeg-devel] [PATCH] configure: arm: Don't add -march= to the compiler if no preference was passed

2021-09-20 Thread Gianfranco Costamagna
Hello, thanks! this fixes nicely my problem, and makes useless the two patches I posted here: please remove and drop: https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=4892 https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=4890 and accept this one whenever possible! thanks Gianfran

[FFmpeg-devel] 15-bit Westwood VQA3 decoding

2021-09-20 Thread Pekka Väänänen
Hello, This patch adds support for 15-bit VQA3 files that are used in Westwood Studios' video games such as Command & Conquer: Tiberian Sun and Blade Runner. I have tested this change with all VQA files available at http://samples.mplayerhq.hu/game-formats/vqa/ and every video except those in ky

[FFmpeg-devel] [PATCH] avcodec/vqavideo: Decode 15-bit VQA3 files

2021-09-20 Thread Pekka Väänänen
Adds support for 15-bit VQA3 videos used in Westwood Studios' games. Signed-off-by: Pekka Väänänen --- libavcodec/vqavideo.c | 279 + libavformat/westwood_vqa.c | 12 +- 2 files changed, 262 insertions(+), 29 deletions(-) diff --git a/libavcodec/vqavide

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/cbs_h265_syntax_template: Limit sps_num_palette_predictor_initializer_minus1 to 127

2021-09-20 Thread Michael Niedermayer
On Mon, Sep 20, 2021 at 09:57:02AM -0300, James Almer wrote: > On 9/19/2021 5:35 PM, Michael Niedermayer wrote: > > Fixes: index 128 out of bounds for type 'uint16_t [128]' > > Fixes: > > 38651/clusterfuzz-testcase-minimized-ffmpeg_BSF_HEVC_METADATA_fuzzer-6296416058736640 > > > > Found-by: conti

Re: [FFmpeg-devel] 15-bit Westwood VQA3 decoding

2021-09-20 Thread Andreas Rheinhardt
Pekka Väänänen: > 1. Is it possible to preserve the pixels of a frame for easy delta updates? > In that 2009 patch set they used an old "FF_BUFFER_HINTS_PRESERVE" flag > that doesn't exist anymore. > You keep a reference to the earlier frame (use av_frame_ref()). > 2. Is it problematic to derefe

Re: [FFmpeg-devel] Westwood VQA3 demuxer additions

2021-09-20 Thread Lynne
Sep 20, 2021, 20:43 by "Pekka Väänänen" : > Greetings! > > This small patch is required for high color 15-bit Westwood VQA3 videos > to be decoded properly. It just saves an offset of a VQFL chunk when it > sees one and then concatenates it with the packet of a later VQFR chunk > that contains ful

Re: [FFmpeg-devel] [PATCH] avfilter: add morpho filter

2021-09-20 Thread Lynne
Sep 20, 2021, 19:33 by one...@gmail.com: > Signed-off-by: Paul B Mahol > --- > doc/filters.texi | 32 ++ > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + > libavfilter/vf_morpho.c | 865 +++ > 4 files changed, 899 insertion

[FFmpeg-devel] [PATCH 14/14] avcodec/elbg: Mark ELBGContext as being unaliased by using av_restrict

2021-09-20 Thread Andreas Rheinhardt
This improves performance: For msvideo1, the performance improved by 4.8% when encoding the sample from the fate-vsynth1-msvideo1 test; when encoding the sample from fate-vsynth1-cinepak, performance improved by 2%. The compiler user was GCC 10 and the calls to encode2 have been timed. Signed-off-

Re: [FFmpeg-devel] [PATCH 10/13] avcodec/cinepakenc: Check all calls to avpriv_elbg_do()

2021-09-20 Thread Andreas Rheinhardt
Tomas Härdin: > fre 2021-09-17 klockan 04:08 +0200 skrev Andreas Rheinhardt: >> Signed-off-by: Andreas Rheinhardt >> --- >>  libavcodec/cinepakenc.c | 28 ++-- >>  1 file changed, 22 insertions(+), 6 deletions(-) > > Gave this one a try with -vframes 100 -s 640x360 for some

[FFmpeg-devel] [PATCH] avfilter: add morpho filter

2021-09-20 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 39 ++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_morpho.c | 909 +++ 4 files changed, 950 insertions(+) create mode 100644 libavfilter/vf_morpho.c diff --git

[FFmpeg-devel] [PATCH] avcodec: add native Speex decoder

2021-09-20 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/Makefile|1 + libavcodec/allcodecs.c |1 + libavcodec/speexdata.h | 780 libavcodec/speexdec.c | 1584 4 files changed, 2366 insertions(+) create mode 100644 libavcodec/speexdat

Re: [FFmpeg-devel] [PATCH] avcodec: add native Speex decoder

2021-09-20 Thread James Almer
On 9/20/2021 7:33 PM, Paul B Mahol wrote: +static int speex_decode_frame(AVCodecContext *avctx, void *data, + int *got_frame_ptr, AVPacket *avpkt) +{ +SpeexContext *s = avctx->priv_data; +AVFrame *frame = data; +const float scale = 1.f / 32768.f; +int

Re: [FFmpeg-devel] [PATCH] libavcodec/libx264: add user data unregistered SEI encoding

2021-09-20 Thread Brad Hards
On Monday, 6 September 2021 10:17:14 AM AEST Brad Hards wrote: > On Sunday, 22 August 2021 7:25:25 PM AEST Brad Hards wrote: > > On Saturday, 14 August 2021 9:51:03 AM AEST Brad Hards wrote: > > > On Friday, 6 August 2021 7:16:33 PM AEST Brad Hards wrote: > > > > MISB ST 0604 and ST 2101 require us

Re: [FFmpeg-devel] [PATCH] webp: fix transforms after a palette with pixel packing.

2021-09-20 Thread James Zern
On Wed, Sep 8, 2021 at 6:46 PM James Zern wrote: > > On Mon, Aug 30, 2021 at 5:11 AM Maryla > wrote: > > > > When a color indexing transform with 16 or fewer colors is used, > > WebP uses "pixel packing", i.e. storing several pixels in one byte, > > which virtually reduces the width of the image

[FFmpeg-devel] [PATCH] swscale/yuv2rgb: fix shift values for conversion to X2RGB10

2021-09-20 Thread Manuel Stoeckl
This resolves a problem where conversions from YUV to X2RGB10LE would produce color values a factor 4 too small. The variable 'yval' used later in the switch case 30 has range [0,255], but the color channel values in X2RGB10 have two more bits than 'yval' and can go up to 1023. Increasing (r|g|b)b

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/mjpegdec: export display matrix frame side data when available

2021-09-20 Thread Eoff, Ullysses A
> -Original Message- > From: ffmpeg-devel On Behalf Of James Almer > Sent: Wednesday, September 08, 2021 11:34 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH 1/4] avcodec/mjpegdec: export display matrix > frame side data when available > > Signed-off-by: James Almer

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/dynamic_hdr10_plus: check size before using it

2021-09-20 Thread lance . lmwang
On Tue, Sep 14, 2021 at 06:50:38PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavcodec/dynamic_hdr10_plus.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/libavcodec/dynamic_hdr10_plus.c b/libavcodec/dynamic_h

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/dynamic_hdr10_plus: check size before using it

2021-09-20 Thread Andreas Rheinhardt
lance.lmw...@gmail.com: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavcodec/dynamic_hdr10_plus.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/libavcodec/dynamic_hdr10_plus.c b/libavcodec/dynamic_hdr10_plus.c > index 854e70d..34a44aa 100644 > --

[FFmpeg-devel] [PATCH 1/5] avcodec: remove the unused low_delay

2021-09-20 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/h264dec.c | 1 - libavcodec/mpegutils.c | 1 - libavcodec/mpegutils.h | 1 - libavcodec/mpegvideo.c | 2 +- 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index 5ca41cc..6a5bf5

[FFmpeg-devel] [PATCH 2/5] avfilter/vf_codecview: added new options for block

2021-09-20 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/filters.texi | 3 +++ libavfilter/version.h | 2 +- libavfilter/vf_codecview.c | 35 +++ 3 files changed, 39 insertions(+), 1 deletion(-) diff --git a/doc/filters.texi b/doc/filters.texi index 9

[FFmpeg-devel] [PATCH 3/5] avfilter/vf_guided: Fix indention

2021-09-20 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavfilter/vf_guided.c | 77 - 1 file changed, 38 insertions(+), 39 deletions(-) diff --git a/libavfilter/vf_guided.c b/libavfilter/vf_guided.c index f808ba1..066a00d 100644 --- a/libavfilter/vf_gui

[FFmpeg-devel] [PATCH 4/5] avformat/utils: add const for argument passed to ff_is_http_proto()

2021-09-20 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/internal.h | 2 +- libavformat/utils.c| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/internal.h b/libavformat/internal.h index cc8c8f4..6f1f1c0 100644 --- a/libavformat/internal.h +++ b/libavforma

[FFmpeg-devel] [PATCH 5/5] avformat/hlsenc: add const for filename argument

2021-09-20 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/hlsenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 7c37bc5..98608a8 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -281,7 +281,7 @@ static int

[FFmpeg-devel] [PATCH 01/26] avfilter/af_afade: Remove redundant checks and assignments

2021-09-20 Thread Andreas Rheinhardt
The acrossfade filter uses the ff_set_common_* functions in its query_formats(), so that the formats, the sample rates as well as the channel layouts and counts of all links coincide. Signed-off-by: Andreas Rheinhardt --- libavfilter/af_afade.c | 11 --- 1 file changed, 11 deletions(-)

[FFmpeg-devel] [PATCH 02/26] avfilter/af_agate: Honour query_formats API, fix segfault

2021-09-20 Thread Andreas Rheinhardt
The sidechaingate filter wants its main input and its (only) output to have the same channel layout and number of channels; yet it does not link them in its query_formats callback. Instead it sets the outlink to only accept the first offered choice for the main input's channel layout and then sets

[FFmpeg-devel] [PATCH 03/26] avfilter/af_sidechaincompress: Honour query_formats API, fix segfault

2021-09-20 Thread Andreas Rheinhardt
Just like the sidechaingate filter, the sidechaincompress filter overwrote the channel layout and channel count of its output in its config_output callback to match the channel layout of its main input instead of linking the main input and its output together in its query_formats callback. This is

[FFmpeg-devel] [PATCH 04/26] avfilter/af_agate: Remove always-false samplerate check

2021-09-20 Thread Andreas Rheinhardt
This filter uses ff_set_common_all_samplerates(). Also don't overwrite outlink->sample_rate in config_output; it is harmless, because it is overwritten with the value it already had, but it is an API violation. Signed-off-by: Andreas Rheinhardt --- libavfilter/af_agate.c | 9 - 1 file ch

[FFmpeg-devel] [PATCH 05/26] avfilter/af_amerge: Remove always-false samplerate check

2021-09-20 Thread Andreas Rheinhardt
This filter uses ff_set_common_all_samplerates(). Also don't overwrite outlink->sample_rate in config_output; it is harmless, because it is overwritten with the value it already had, but it is an API violation. Signed-off-by: Andreas Rheinhardt --- libavfilter/af_amerge.c | 10 -- 1 file

[FFmpeg-devel] [PATCH 06/26] avfilter/af_sidechaincompress: Remove always-false samplerate check

2021-09-20 Thread Andreas Rheinhardt
This filter uses ff_set_common_all_samplerates(). Also don't overwrite outlink->sample_rate in config_output; it is harmless, because it is overwritten with the value it already had, but it is an API violation. Signed-off-by: Andreas Rheinhardt --- libavfilter/af_sidechaincompress.c | 9

[FFmpeg-devel] [PATCH 07/26] avfilter/vf_blend: Remove always-false format check

2021-09-20 Thread Andreas Rheinhardt
This filter uses ff_set_common_formats_from_list(). Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_blend.c | 4 1 file changed, 4 deletions(-) diff --git a/libavfilter/vf_blend.c b/libavfilter/vf_blend.c index 73fdea3c79..47ec1b5a2d 100644 --- a/libavfilter/vf_blend.c +++ b/libavfilt

[FFmpeg-devel] [PATCH 08/26] avfilter/vf_bm3d: Remove always-false format check

2021-09-20 Thread Andreas Rheinhardt
This filter uses ff_set_common_formats_from_list(). Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_bm3d.c | 4 1 file changed, 4 deletions(-) diff --git a/libavfilter/vf_bm3d.c b/libavfilter/vf_bm3d.c index 198fc43268..007f8bbf8c 100644 --- a/libavfilter/vf_bm3d.c +++ b/libavfilter/v

[FFmpeg-devel] [PATCH 09/26] avfilter/vf_convolve: Remove always-false format check

2021-09-20 Thread Andreas Rheinhardt
These filters use ff_set_common_formats_from_list(). Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_convolve.c | 4 1 file changed, 4 deletions(-) diff --git a/libavfilter/vf_convolve.c b/libavfilter/vf_convolve.c index ab6d1a271f..70d6793a50 100644 --- a/libavfilter/vf_convolve.c ++

[FFmpeg-devel] [PATCH 10/26] avfilter/vf_displace: Remove always-false format check

2021-09-20 Thread Andreas Rheinhardt
This filter uses ff_set_common_formats_from_list(). Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_displace.c | 5 - 1 file changed, 5 deletions(-) diff --git a/libavfilter/vf_displace.c b/libavfilter/vf_displace.c index 0bd35b2516..3dbba3b95c 100644 --- a/libavfilter/vf_displace.c ++

[FFmpeg-devel] [PATCH 11/26] avfilter/vf_guided: Remove always-false format check

2021-09-20 Thread Andreas Rheinhardt
This filter uses ff_set_common_formats_from_list(). Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_guided.c | 4 1 file changed, 4 deletions(-) diff --git a/libavfilter/vf_guided.c b/libavfilter/vf_guided.c index f808ba1043..bf8be866e6 100644 --- a/libavfilter/vf_guided.c +++ b/libav

[FFmpeg-devel] [PATCH 12/26] avfilter/vf_hysteresis: Remove always-false format check

2021-09-20 Thread Andreas Rheinhardt
This filter uses ff_set_common_formats_from_list(). Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_hysteresis.c | 4 1 file changed, 4 deletions(-) diff --git a/libavfilter/vf_hysteresis.c b/libavfilter/vf_hysteresis.c index cbbee2691b..0346465e43 100644 --- a/libavfilter/vf_hysteres

[FFmpeg-devel] [PATCH 13/26] avfilter/vf_identity: Remove always-false format check

2021-09-20 Thread Andreas Rheinhardt
These filters use ff_set_common_formats_from_list(). Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_identity.c | 4 1 file changed, 4 deletions(-) diff --git a/libavfilter/vf_identity.c b/libavfilter/vf_identity.c index fd72137344..5f0b4e9834 100644 --- a/libavfilter/vf_identity.c ++

[FFmpeg-devel] [PATCH 14/26] avfilter/vf_libvmaf: Remove always-false format check

2021-09-20 Thread Andreas Rheinhardt
This filter uses ff_set_common_formats_from_list(). Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_libvmaf.c | 4 1 file changed, 4 deletions(-) diff --git a/libavfilter/vf_libvmaf.c b/libavfilter/vf_libvmaf.c index d3e9f62e33..00b2661f5e 100644 --- a/libavfilter/vf_libvmaf.c +++ b/l

[FFmpeg-devel] [PATCH 15/26] avfilter/vf_maskedclamp: Remove always-false format check

2021-09-20 Thread Andreas Rheinhardt
This filter uses ff_set_common_formats_from_list(). Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_maskedclamp.c | 5 - 1 file changed, 5 deletions(-) diff --git a/libavfilter/vf_maskedclamp.c b/libavfilter/vf_maskedclamp.c index c19bc9d849..f46c5c9934 100644 --- a/libavfilter/vf_mask

[FFmpeg-devel] [PATCH 16/26] avfilter/vf_maskedmerge: Remove always-false format check

2021-09-20 Thread Andreas Rheinhardt
This filter uses ff_set_common_formats_from_list(). Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_maskedmerge.c | 5 - 1 file changed, 5 deletions(-) diff --git a/libavfilter/vf_maskedmerge.c b/libavfilter/vf_maskedmerge.c index 00e9308622..26b54830b8 100644 --- a/libavfilter/vf_mask

[FFmpeg-devel] [PATCH 17/26] avfilter/vf_maskedminmax: Remove always-false format check

2021-09-20 Thread Andreas Rheinhardt
These filters use ff_set_common_formats_from_list(). Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_maskedminmax.c | 5 - 1 file changed, 5 deletions(-) diff --git a/libavfilter/vf_maskedminmax.c b/libavfilter/vf_maskedminmax.c index 6c7f6de211..82b0eca8f0 100644 --- a/libavfilter/vf_

[FFmpeg-devel] [PATCH 18/26] avfilter/vf_maskedthreshold: Remove always-false format check

2021-09-20 Thread Andreas Rheinhardt
This filter uses ff_set_common_formats_from_list(). Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_maskedthreshold.c | 4 1 file changed, 4 deletions(-) diff --git a/libavfilter/vf_maskedthreshold.c b/libavfilter/vf_maskedthreshold.c index 4b183eb9fd..a8f717364e 100644 --- a/libavfil

[FFmpeg-devel] [PATCH 19/26] avfilter/vf_midequalizer: Remove always-false format check

2021-09-20 Thread Andreas Rheinhardt
This filter uses ff_set_common_formats_from_list(). Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_midequalizer.c | 5 - 1 file changed, 5 deletions(-) diff --git a/libavfilter/vf_midequalizer.c b/libavfilter/vf_midequalizer.c index 0e87723609..069bf47174 100644 --- a/libavfilter/vf_m

[FFmpeg-devel] [PATCH 20/26] avfilter/vf_premultiply: Remove always-false format check

2021-09-20 Thread Andreas Rheinhardt
These filters use ff_set_common_formats_from_list(). Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_premultiply.c | 4 1 file changed, 4 deletions(-) diff --git a/libavfilter/vf_premultiply.c b/libavfilter/vf_premultiply.c index a76c08405c..ada249fc55 100644 --- a/libavfilter/vf_prem

[FFmpeg-devel] [PATCH 21/26] avfilter/vf_psnr: Remove always-false format check

2021-09-20 Thread Andreas Rheinhardt
This filter uses ff_set_common_formats_from_list(). Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_psnr.c | 4 1 file changed, 4 deletions(-) diff --git a/libavfilter/vf_psnr.c b/libavfilter/vf_psnr.c index d254d0cb55..a4ce9a4c4c 100644 --- a/libavfilter/vf_psnr.c +++ b/libavfilter/v

[FFmpeg-devel] [PATCH 22/26] avfilter/vf_ssim: Remove always-false format check

2021-09-20 Thread Andreas Rheinhardt
This filter uses ff_set_common_formats_from_list(). Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_ssim.c | 4 1 file changed, 4 deletions(-) diff --git a/libavfilter/vf_ssim.c b/libavfilter/vf_ssim.c index 61a84ff990..14d7ab3ec6 100644 --- a/libavfilter/vf_ssim.c +++ b/libavfilter/v

[FFmpeg-devel] [PATCH 23/26] avfilter/vf_threshold: Remove always-false format check

2021-09-20 Thread Andreas Rheinhardt
This filter uses ff_set_common_formats_from_list(). Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_threshold.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/libavfilter/vf_threshold.c b/libavfilter/vf_threshold.c index 828f7a8746..b6b93fef6f 100644 --- a/libavfilter/vf_threshold

[FFmpeg-devel] [PATCH 24/26] avfilter/vf_vif: Remove always-false format check

2021-09-20 Thread Andreas Rheinhardt
This filter uses ff_set_common_formats_from_list(). Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_vif.c | 4 1 file changed, 4 deletions(-) diff --git a/libavfilter/vf_vif.c b/libavfilter/vf_vif.c index da3069c1f6..ee7c67337d 100644 --- a/libavfilter/vf_vif.c +++ b/libavfilter/vf_vi

[FFmpeg-devel] [PATCH 25/26] avfilter/vf_xfade: Remove always-false format check

2021-09-20 Thread Andreas Rheinhardt
This filter uses ff_set_common_formats_from_list(). Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_xfade.c | 4 1 file changed, 4 deletions(-) diff --git a/libavfilter/vf_xfade.c b/libavfilter/vf_xfade.c index eff8a8b854..b4edcbf1b4 100644 --- a/libavfilter/vf_xfade.c +++ b/libavfilt

[FFmpeg-devel] [PATCH 26/26] avfilter/vf_geq: Simplify creating string

2021-09-20 Thread Andreas Rheinhardt
Also fixes a Wformat-truncation warning from GCC. Signed-off-by: Andreas Rheinhardt --- libavfilter/vf_geq.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavfilter/vf_geq.c b/libavfilter/vf_geq.c index 4a78336540..1dc59dc1fa 100644 --- a/libavfilter/vf_geq.c +++ b/lib

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mlpenc: fix encoding stereo single stream in TrueHD

2021-09-20 Thread Anton Khirnov
Quoting Paul B Mahol (2021-09-20 19:40:33) > On Mon, Sep 20, 2021 at 12:56 PM Anton Khirnov wrote: > > > Quoting Paul B Mahol (2021-09-18 19:21:05) > > > Signed-off-by: Paul B Mahol > > > --- > > > libavcodec/mlpenc.c | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > Sure woul

Re: [FFmpeg-devel] [PATCH 25/26] avfilter/vf_xfade: Remove always-false format check

2021-09-20 Thread Paul B Mahol
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".

Re: [FFmpeg-devel] [PATCH 01/26] avfilter/af_afade: Remove redundant checks and assignments

2021-09-20 Thread Paul B Mahol
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".

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mlpenc: fix encoding stereo single stream in TrueHD

2021-09-20 Thread Paul B Mahol
On Tue, Sep 21, 2021 at 8:43 AM Anton Khirnov wrote: > Quoting Paul B Mahol (2021-09-20 19:40:33) > > On Mon, Sep 20, 2021 at 12:56 PM Anton Khirnov > wrote: > > > > > Quoting Paul B Mahol (2021-09-18 19:21:05) > > > > Signed-off-by: Paul B Mahol > > > > --- > > > > libavcodec/mlpenc.c | 2 +-