Paul B Mahol (12021-09-06):
> Yes. Because .activate fixes numerous issues.
> I see that only scale2ref is still using old way with multiple inputs. It
> probably should be fixed,
> and after that assert should be added in this file so new filters do not
> expose same limitations and mistakes of th
On Mon, Sep 6, 2021 at 7:23 AM 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] avfilt
> -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
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 +625,
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 tee
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
+++ b/libavformat/mu
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 inlin
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 10064
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 +12
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 tee_write_
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 ---
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 @@ sta
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);
av_free(selec
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 @@ st
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 @@ static
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
@@ -
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 @@ static
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
ind
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 in
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
++
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 str
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
--- a/li
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 1706062f7b..8e9b7
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 deletion
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 ins
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 li
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 0
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 b/li
> -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-
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 senso
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
signat
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
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
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. -- V
> -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
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] avfilt
> -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
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
> ---
>
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] avfilter
> -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
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".
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
Signed-off-b
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".
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 fil
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 fil
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 changed
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
+++ b/libavformat/mlpdec
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/mlp
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
+++ b/libavformat/mlpdec
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(-)
>>>
>
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 a/libav
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
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
@@
> -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 th
---
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"
flite_filter_de
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 itera
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
+++ b/libav
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
in_range=tv:out_range
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
ffmpe
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
libavfil
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 suppo
61 matches
Mail list logo