Re: [FFmpeg-devel] [PATCH] avfilter/avfilter: Fix hardcoded input index

2021-09-05 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Paul B Mahol > Sent: Sunday, 5 September 2021 21:51 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH] avfilter/avfilter: Fix hardcoded > input index > > On Sun, Sep 5, 2021

[FFmpeg-devel] [PATCH 17/34] avformat/asfenc: Return proper error codes

2021-09-05 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/asfenc.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/libavformat/asfenc.c b/libavformat/asfenc.c index e4d74c80cb..13d7eebddc 100644 --- a/libavformat/asfenc.c +++ b/libavformat/asfenc.c @@ -625,8

[FFmpeg-devel] [PATCH 29/34] avformat/tee: Avoid stack packet

2021-09-05 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/tee.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libavformat/tee.c b/libavformat/tee.c index 505873ce1e..f359218a08 100644 --- a/libavformat/tee.c +++ b/libavformat/tee.c @@ -540,7 +540,7 @@ static int

[FFmpeg-devel] [PATCH 34/34] avformat/mux: Remove unnecessary av_packet_unref()

2021-09-05 Thread Andreas Rheinhardt
AVFormatInternal.parse_pkt is always blank after having been used. Signed-off-by: Andreas Rheinhardt --- libavformat/mux.c | 4 1 file changed, 4 deletions(-) diff --git a/libavformat/mux.c b/libavformat/mux.c index c5e07aaf1c..47883ece37 100644 --- a/libavformat/mux.c +++

[FFmpeg-devel] [PATCH 33/34] avformat/tee: Reindentation

2021-09-05 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/tee.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/libavformat/tee.c b/libavformat/tee.c index 88a40ebe87..7ce9f7499d 100644 --- a/libavformat/tee.c +++ b/libavformat/tee.c @@ -98,15 +98,15 @@ static

[FFmpeg-devel] [PATCH 32/34] avformat/tee: Process strings immediately if possible

2021-09-05 Thread Andreas Rheinhardt
This avoids having to free them manually lateron. Signed-off-by: Andreas Rheinhardt --- libavformat/tee.c | 54 --- 1 file changed, 23 insertions(+), 31 deletions(-) diff --git a/libavformat/tee.c b/libavformat/tee.c index 4129954172..88a40ebe87

[FFmpeg-devel] [PATCH 31/34] avformat/tee: Fix leak of FIFO-options dictionary

2021-09-05 Thread Andreas Rheinhardt
Happened for all slaves which didn't use the FIFO. Signed-off-by: Andreas Rheinhardt --- libavformat/tee.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/tee.c b/libavformat/tee.c index 03356da6c0..4129954172 100644 --- a/libavformat/tee.c +++ b/libavformat/tee.c @@ -125,6

[FFmpeg-devel] [PATCH 27/34] avformat/tee: Fix inconsistency wrt av_packet_ref() failure handling

2021-09-05 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/tee.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavformat/tee.c b/libavformat/tee.c index 759535bdea..a5bf34d083 100644 --- a/libavformat/tee.c +++ b/libavformat/tee.c @@ -565,11 +565,11 @@ static int

[FFmpeg-devel] [PATCH 26/34] avformat/webpenc: Don't use sizeof(AVPacket)

2021-09-05 Thread Andreas Rheinhardt
In this case it means replacing a packet in the muxer's context by a pointer to an AVPacket, namely AVFormatInternal.pkt. Because this packet is freed generically, one can remove the muxer's deinit function. Signed-off-by: Andreas Rheinhardt --- libavformat/webpenc.c | 37

[FFmpeg-devel] [PATCH 25/34] avformat/flacenc: Avoid stack packet

2021-09-05 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/flacenc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavformat/flacenc.c b/libavformat/flacenc.c index 44c9341493..ab57a1e45a 100644 --- a/libavformat/flacenc.c +++ b/libavformat/flacenc.c @@ -299,7 +299,7 @@

[FFmpeg-devel] [PATCH 30/34] avformat/tee: Fix leak of strings

2021-09-05 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/tee.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/tee.c b/libavformat/tee.c index f359218a08..03356da6c0 100644 --- a/libavformat/tee.c +++ b/libavformat/tee.c @@ -404,6 +404,8 @@ end: av_free(format);

[FFmpeg-devel] [PATCH 24/34] avformat/img2enc: Don't use sizeof(AVPacket)

2021-09-05 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/img2enc.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavformat/img2enc.c b/libavformat/img2enc.c index 655595374d..944e055e12 100644 --- a/libavformat/img2enc.c +++ b/libavformat/img2enc.c @@ -77,7 +77,7 @@

[FFmpeg-devel] [PATCH 23/34] avformat/mp3enc: Avoid stack packet

2021-09-05 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/mp3enc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavformat/mp3enc.c b/libavformat/mp3enc.c index c8328b8b9d..019e92ca8e 100644 --- a/libavformat/mp3enc.c +++ b/libavformat/mp3enc.c @@ -381,17 +381,17 @@

[FFmpeg-devel] [PATCH 21/34] avformat/matroskaenc: Avoid allocation of AVPacket

2021-09-05 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/matroskaenc.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 6e34243f6b..250623535a 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@

[FFmpeg-devel] [PATCH 22/34] avformat/ttaenc: Avoid stack packet

2021-09-05 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/ttaenc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavformat/ttaenc.c b/libavformat/ttaenc.c index 5f66695a9a..842dee52dc 100644 --- a/libavformat/ttaenc.c +++ b/libavformat/ttaenc.c @@ -123,12 +123,12 @@

[FFmpeg-devel] [PATCH 28/34] avformat/tee: Unref packet on av_bsf_send_packet() failure

2021-09-05 Thread Andreas Rheinhardt
Given that the packet sent to av_bsf_send_packet() is always already refcounted, it is doubtful whether the error can even be triggered currently. Signed-off-by: Andreas Rheinhardt --- libavformat/tee.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/tee.c b/libavformat/tee.c

[FFmpeg-devel] [PATCH 20/34] avformat/avienc: Avoid allocating AVPacket

2021-09-05 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/avienc.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/libavformat/avienc.c b/libavformat/avienc.c index 9eb072ce12..05bcb8cf79 100644 --- a/libavformat/avienc.c +++ b/libavformat/avienc.c @@ -275,9 +275,7 @@ static

[FFmpeg-devel] [PATCH 16/34] avformat/asfenc: Add deinit function

2021-09-05 Thread Andreas Rheinhardt
Fixes leaks when the trailer is never written. Signed-off-by: Andreas Rheinhardt --- libavformat/asfenc.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/libavformat/asfenc.c b/libavformat/asfenc.c index 8e9b7ffc28..e4d74c80cb 100644 --- a/libavformat/asfenc.c

[FFmpeg-devel] [PATCH 19/34] avformat/amvenc: Avoid allocating packet

2021-09-05 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/amvenc.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libavformat/amvenc.c b/libavformat/amvenc.c index cb03f00ed7..ff1a857dbf 100644 --- a/libavformat/amvenc.c +++ b/libavformat/amvenc.c @@ -62,7 +62,7 @@ typedef

[FFmpeg-devel] [PATCH 18/34] avformat/internal: Allow AVFormatInternal.pkt to be used by muxers

2021-09-05 Thread Andreas Rheinhardt
It is unused by the generic muxing code. Signed-off-by: Andreas Rheinhardt --- libavformat/internal.h | 4 +++- libavformat/mux.c | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/internal.h b/libavformat/internal.h index c3d0ff6b88..c16cb5b17f 100644 ---

[FFmpeg-devel] [PATCH 15/34] avformat/asfenc: Avoid allocations when writing metadata

2021-09-05 Thread Andreas Rheinhardt
Also improves the error check for avio_open_dyn_buf(). Signed-off-by: Andreas Rheinhardt --- libavformat/asfenc.c | 68 +++- 1 file changed, 29 insertions(+), 39 deletions(-) diff --git a/libavformat/asfenc.c b/libavformat/asfenc.c index

[FFmpeg-devel] [PATCH 14/34] avformat/asfenc: Remove unused fields from ASFStream

2021-09-05 Thread Andreas Rheinhardt
It has never been done in b08569a23948db107e5e6175cd4c695427d5339d, 30b8f3e7dcd0318b91e205dcbf774ef92fb6193c. After this change, this muxer does no longer use sizeof(AVPacket). Signed-off-by: Andreas Rheinhardt --- libavformat/asfenc.c | 25 - 1 file changed, 25

[FFmpeg-devel] [PATCH 13/34] avformat/mux: Use AVFormatInternal.parse_pkt for temporary packets

2021-09-05 Thread Andreas Rheinhardt
The documentation of said packet ("Every user has to ensure that this packet is blank after using it") perfectly fits how we use said packet in the generic muxing code. Better than the documentation of pkt. Signed-off-by: Andreas Rheinhardt --- libavformat/mux.c | 6 +++--- 1 file changed, 3

[FFmpeg-devel] [PATCH 12/34] avformat/mux: Don't use stack packet when writing interleaved packets

2021-09-05 Thread Andreas Rheinhardt
Currently the interleave_packet functions use a packet for a new packet to be interleaved (may be NULL if there is none) and a packet for output; said packet is always a stack packet in interleaved_write_packet(). But all the interleave_packet functions in use first move the packet to the packet

Re: [FFmpeg-devel] [PATCH 1/4] libavfilter/x86/vf_hflip: add ff_flip_byte/short_avx512()

2021-09-05 Thread Wu, Jianhua
Ping. > -Original Message- > From: Wu, Jianhua > Sent: Friday, August 27, 2021 12:52 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Wu, Jianhua > Subject: [PATCH 1/4] libavfilter/x86/vf_hflip: add ff_flip_byte/short_avx512() > > Performance(Less is better): > 8bit: > ff_hflip_byte_ssse3

[FFmpeg-devel] [PATCH v2 2/4] avcodec/nvenc: Add intra refresh support

2021-09-05 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/nvenc.c | 32 +++- libavcodec/nvenc.h | 1 + libavcodec/nvenc_h264.c | 2 ++ libavcodec/nvenc_hevc.c | 2 ++ 4 files changed, 32 insertions(+), 5 deletions(-) diff --git a/libavcodec/nvenc.c

Re: [FFmpeg-devel] [V2 08/10] libavutil/hwcontext_vulkan: fix wrong offset of plane

2021-09-05 Thread Chen, Wenbin
> -Original Message- > From: Lynne > Sent: Wednesday, September 1, 2021 7:33 PM > To: Chen, Wenbin > Subject: RE: [FFmpeg-devel] [V2 08/10] libavutil/hwcontext_vulkan: fix wrong > offset of plane > > 1 Sept 2021, 03:40 by wenbin.c...@intel.com: > > > > > > >> -Original Message-

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

2021-09-05 Thread Brad Hards
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 user data unregistered SEI messages > > > (precision timestamps and

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/xpmdec: Move allocations down after more error checks

2021-09-05 Thread Michael Niedermayer
On Fri, Sep 03, 2021 at 08:51:23PM +0200, Paul B Mahol wrote: > probably fine will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB While the State exists there can be no freedom; when there is freedom there will be no State. -- Vladimir Lenin

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/argo: Move U, fix shift

2021-09-05 Thread Michael Niedermayer
On Fri, Sep 03, 2021 at 08:50:27PM +0200, Paul B Mahol wrote: > lgtm will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Observe your enemies, for they first find out your faults. -- Antisthenes signature.asc Description: PGP signature

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/jpeg2000dec: Check that atom header is within bytsetream

2021-09-05 Thread Michael Niedermayer
On Sun, Sep 05, 2021 at 09:27:08PM +0200, Paul B Mahol wrote: > lgtm will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The worst form of inequality is to try to make unequal things equal. -- Aristotle signature.asc Description: PGP signature

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/apedec: Fix 2 integer overflows in filter_3800()

2021-09-05 Thread Michael Niedermayer
On Sun, Sep 05, 2021 at 09:35:19PM +0200, Paul B Mahol wrote: > lgtm will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Freedom in capitalist society always remains about the same as it was in ancient Greek republics: Freedom for slave owners. --

Re: [FFmpeg-devel] [PATCH] avfilter/avfilter: Fix hardcoded input index

2021-09-05 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Paul B Mahol > Sent: Sunday, 5 September 2021 22:06 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH] avfilter/avfilter: Fix hardcoded > input index > > On Sun, Sep 5, 2021

Re: [FFmpeg-devel] [PATCH] avfilter/avfilter: Fix hardcoded input index

2021-09-05 Thread Paul B Mahol
On Sun, Sep 5, 2021 at 9:56 PM Soft Works wrote: > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Paul B Mahol > > Sent: Sunday, 5 September 2021 21:51 > > To: FFmpeg development discussions and patches > de...@ffmpeg.org> > > Subject: Re: [FFmpeg-devel] [PATCH]

Re: [FFmpeg-devel] [PATCH] avfilter/avfilter: Fix hardcoded input index

2021-09-05 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Paul B Mahol > Sent: Sunday, 5 September 2021 21:51 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH] avfilter/avfilter: Fix hardcoded > input index > > On Sun, Sep 5, 2021

Re: [FFmpeg-devel] [PATCH 3/4] avcodec/h264_parser: Fix nalsize check

2021-09-05 Thread Andreas Rheinhardt
Michael Niedermayer: > Fixes: Assertion failure > Fixes: > 37463/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H264_fuzzer-4914693494931456 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by: Michael Niedermayer > --- >

Re: [FFmpeg-devel] [PATCH] avfilter/avfilter: Fix hardcoded input index

2021-09-05 Thread Paul B Mahol
On Sun, Sep 5, 2021 at 9:44 PM Soft Works wrote: > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Soft Works > > Sent: Sunday, 5 September 2021 16:59 > > To: FFmpeg development discussions and patches > de...@ffmpeg.org> > > Subject: Re: [FFmpeg-devel] [PATCH]

Re: [FFmpeg-devel] [PATCH] avfilter/avfilter: Fix hardcoded input index

2021-09-05 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Soft Works > Sent: Sunday, 5 September 2021 16:59 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH] avfilter/avfilter: Fix hardcoded > input index > > > > > -Original

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/apedec: Fix 2 integer overflows in filter_3800()

2021-09-05 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".

[FFmpeg-devel] [PATCH 2/4] avcodec/apedec: Fix 2 integer overflows in filter_3800()

2021-09-05 Thread Michael Niedermayer
Fixes: signed integer overflow: 1683879955 - -466265224 cannot be represented in type 'int' Fixes: 37419/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-6074294407921664 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/jpeg2000dec: Check that atom header is within bytsetream

2021-09-05 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".

[FFmpeg-devel] [PATCH 4/4] avcodec/jpeg2000dec: Check that atom header is within bytsetream

2021-09-05 Thread Michael Niedermayer
Fixes: Infinite loop Fixes: 3/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-5912760671141888 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/jpeg2000dec.c | 2 ++ 1

[FFmpeg-devel] [PATCH 3/4] avcodec/h264_parser: Fix nalsize check

2021-09-05 Thread Michael Niedermayer
Fixes: Assertion failure Fixes: 37463/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H264_fuzzer-4914693494931456 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/h264_parser.c | 2 +- 1

[FFmpeg-devel] [PATCH 1/4] avformat/mxfdec: check channel number in mxf_get_d10_aes3_packet()

2021-09-05 Thread Michael Niedermayer
Fixes: Out of array access Fixes: 37030/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5387719147651072 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/mxfdec.c | 4 1 file

[FFmpeg-devel] [PATCH] avformat/mlpdec: fix time_base for packet timestamps

2021-09-05 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavformat/mlpdec.c | 43 --- 1 file changed, 40 insertions(+), 3 deletions(-) diff --git a/libavformat/mlpdec.c b/libavformat/mlpdec.c index 8f0aabb510..f0996fef31 100644 --- a/libavformat/mlpdec.c +++

Re: [FFmpeg-devel] [PATCH 1/2] avformat/mlpdec: fix time_base for packet timestamps

2021-09-05 Thread Andreas Rheinhardt
Paul B Mahol: > Signed-off-by: Paul B Mahol > --- > libavformat/mlpdec.c | 43 --- > 1 file changed, 40 insertions(+), 3 deletions(-) > > diff --git a/libavformat/mlpdec.c b/libavformat/mlpdec.c > index 8f0aabb510..cc5b8d07bb 100644 > ---

[FFmpeg-devel] [PATCH 1/2] avformat/mlpdec: fix time_base for packet timestamps

2021-09-05 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavformat/mlpdec.c | 43 --- 1 file changed, 40 insertions(+), 3 deletions(-) diff --git a/libavformat/mlpdec.c b/libavformat/mlpdec.c index 8f0aabb510..cc5b8d07bb 100644 --- a/libavformat/mlpdec.c +++

Re: [FFmpeg-devel] [PATCH] avformat/mlpdec: fix time_base for packet timestamps

2021-09-05 Thread Andreas Rheinhardt
Paul B Mahol: > On Sun, Sep 5, 2021 at 6:12 PM Andreas Rheinhardt < > andreas.rheinha...@outlook.com> wrote: > >> Paul B Mahol: >>> Signed-off-by: Paul B Mahol >>> --- >>> libavformat/mlpdec.c | 38 +++--- >>> 1 file changed, 35 insertions(+), 3 deletions(-) >>>

Re: [FFmpeg-devel] [PATCH] avformat/mlpdec: fix time_base for packet timestamps

2021-09-05 Thread Paul B Mahol
On Sun, Sep 5, 2021 at 6:12 PM Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > Paul B Mahol: > > Signed-off-by: Paul B Mahol > > --- > > libavformat/mlpdec.c | 38 +++--- > > 1 file changed, 35 insertions(+), 3 deletions(-) > > > > diff --git

Re: [FFmpeg-devel] [PATCH] avformat/mlpdec: fix time_base for packet timestamps

2021-09-05 Thread Andreas Rheinhardt
Paul B Mahol: > Signed-off-by: Paul B Mahol > --- > libavformat/mlpdec.c | 38 +++--- > 1 file changed, 35 insertions(+), 3 deletions(-) > > diff --git a/libavformat/mlpdec.c b/libavformat/mlpdec.c > index 8f0aabb510..f13d0fac8c 100644 > ---

[FFmpeg-devel] [PATCH] avformat/mlpdec: fix time_base for packet timestamps

2021-09-05 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavformat/mlpdec.c | 38 +++--- 1 file changed, 35 insertions(+), 3 deletions(-) diff --git a/libavformat/mlpdec.c b/libavformat/mlpdec.c index 8f0aabb510..f13d0fac8c 100644 --- a/libavformat/mlpdec.c +++ b/libavformat/mlpdec.c

Re: [FFmpeg-devel] [PATCH] avfilter/avfilter: Fix hardcoded input index

2021-09-05 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Paul B Mahol > Sent: Sunday, 5 September 2021 11:01 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH] avfilter/avfilter: Fix hardcoded > input index > > With what filters

[FFmpeg-devel] [PATCH] avfilter/frei0r: use win32dlfcn wrapper

2021-09-05 Thread Timo Rothenpieler
--- configure | 7 --- libavfilter/vf_frei0r.c | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/configure b/configure index af410a9d11..b4b5c7e138 100755 --- a/configure +++ b/configure @@ -3598,8 +3598,9 @@ firequalizer_filter_select="rdft"

[FFmpeg-devel] [PATCH 1/2] avcodec/h274: don't read from uninitialized array members

2021-09-05 Thread Niklas Haas
From: Niklas Haas This bug flew under the radar because, in practice, these values are 0-initialized for the first invocation. But for subsequent invocations (with different h/v values), reading from the uninitialized parts of `out` is undefined behavior. Avoid this by simply adjusting the

[FFmpeg-devel] [PATCH 2/2] avcodec/h274: trim unnecessarily large array

2021-09-05 Thread Niklas Haas
From: Niklas Haas We only ever read to idx+3, so 256 values are overkill. --- libavcodec/h274.c | 21 +++-- 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/libavcodec/h274.c b/libavcodec/h274.c index a59d09b66e..54e33030c2 100644 --- a/libavcodec/h274.c +++

[FFmpeg-devel] Controlling range conversions in the "scale" filter

2021-09-05 Thread Steinar Apalnes
Hi, It seems to be a bug (maybe by design) when trying to control how the video/color ranges are treated in the "scale" filter. Basically what I need to specify is that the range should NOT be converted when input range == output range, for example: in_range=pc:out_range=pc or

Re: [FFmpeg-devel] [PATCH] avfilter/avfilter: Fix hardcoded input index

2021-09-05 Thread Paul B Mahol
With what filters this happens? IIUC this is forbidden and such filters should use .activate instead. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email

Re: [FFmpeg-devel] [PATCH v2] lavfi: add nlmeans CUDA filter

2021-09-05 Thread Timo Rothenpieler
On 05.09.2021 20:02, Dylan Fernando wrote: Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scale_0' Thread 1 "ffmpeg" received signal SIGSEGV, Segmentation fault. 0x556726eb in uninit (ctx=0x5817e800) at

Re: [FFmpeg-devel] [PATCH v2] lavfi: add nlmeans CUDA filter

2021-09-05 Thread Dylan Fernando
On Sat, Sep 4, 2021 at 10:43 AM Timo Rothenpieler wrote: > On 04.09.2021 22:03, Dylan Fernando wrote: > > On Thu, Sep 2, 2021 at 4:25 PM Timo Rothenpieler > > wrote: > > > >> On 02.09.2021 15:32, Timo Rothenpieler wrote: > >>> On 02.09.2021 19:50, Dylan Fernando wrote: > I want to add