Quoting Lynne via ffmpeg-devel (2024-07-10 01:56:57)
> On 09/07/2024 08:57, Anton Khirnov wrote:
> > Quoting Lynne via ffmpeg-devel (2024-07-09 03:07:12)
> >> @@ -151,6 +162,17 @@ typedef struct AVVulkanDeviceContext {
> >>* Similar to lock_queue(), unlocks a queue. Must only be called
> >
Quoting Michael Niedermayer (2024-07-10 00:00:32)
> On Tue, Jul 09, 2024 at 05:14:37PM +0200, Anton Khirnov wrote:
> > Quoting Michael Niedermayer (2024-07-09 15:28:10)
> > > On Tue, Jul 09, 2024 at 03:17:58PM +0200, Anton Khirnov wrote:
> > > > > ensure width and height fit in 32bit
> > > >
> > >
Quoting James Almer (2024-07-09 21:06:26)
> The input sample aspect ratio applies to the pre-cropping dimensions, so
> update it.
I don't understand this reasoning, why should cropping a video change
pixel aspect ratio?
--
Anton Khirnov
___
ffmpeg-dev
Le mer. 12 juin 2024, 3:47 PM, Matthieu Bouron
a écrit :
> ---
> configure | 14 ++
> libavcodec/Makefile | 7 +
> libavcodec/allcodecs.c| 7 +
> libavcodec/mediacodecdec.c| 215 ++-
> libavcodec/mediacodecdec_common.
Patchset looks ok.
--
Anton Khirnov
___
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".
Quoting Nuo Mi (2024-07-09 13:36:09)
> On Tue, Jul 9, 2024 at 6:35 AM Timo Rothenpieler
> wrote:
>
> > On 08.07.2024 17:32, Zhao Zhili wrote:
> > >
> > >
> > >> On Jul 8, 2024, at 22:07, Timo Rothenpieler
> > wrote:
> > >>
> > >> On 08.07.2024 09:43, Zhao Zhili wrote:
> > >>> From: Zhao Zhili
>
Hi,
I've tried to push this patch several times, but it looks like my email client
is messing up the diff, and patchwork isn't able to apply it.
On 09/07/2024 12:02, Bernardo Pilarz via ffmpeg-devel wrote:
Connecting to an RTSP stream will now cause the SDP attributes of each media
stream to b
From: sunyuechi
C908 X60
avg_8_2x2_c:1.21.2
avg_8_2x2_rvv_i32 :0.70.7
avg_8_2x4_c:2.02.0
avg_8_2x4_rvv_i
Sorry, the previous logic was indeed a bit confusing. I rewrote it,
renaming the third parameter to max_lmul.
If e16 is involved in the function, then vsetvlstatic8 uses max_lmul == m4.
If e32 is involved in the function, then vsetvlstatic8 uses max_lmul == m2.
If e16 is involved in the functio
On 7/10/2024 5:29 AM, Anton Khirnov wrote:
Quoting James Almer (2024-07-09 21:06:26)
The input sample aspect ratio applies to the pre-cropping dimensions, so update
it.
I don't understand this reasoning, why should cropping a video change
pixel aspect ratio?
You're right, this patch is not
On Tue, Jul 09, 2024 at 11:34:36AM +0200, Niklas Haas wrote:
> From: Niklas Haas
>
> scale_frame() inconsistently handled the lifetime of `in`. Fixes a
> possible double free and a possible memory leak.
>
> The new code always has `scale_frame` take over ownership of the input
> frame. I first t
On Wed, Jul 10, 2024 at 10:23:57AM +0200, Anton Khirnov wrote:
> Quoting Michael Niedermayer (2024-07-10 00:00:32)
> > On Tue, Jul 09, 2024 at 05:14:37PM +0200, Anton Khirnov wrote:
> > > Quoting Michael Niedermayer (2024-07-09 15:28:10)
> > > > On Tue, Jul 09, 2024 at 03:17:58PM +0200, Anton Khirn
Quoting Michael Niedermayer (2024-07-10 15:44:47)
> Do you still object to a 32bit check on width and height ?
> If not i intend to apply a patch adding such limits
> If you object i will take this to the TC
In my first reply in this thread I asked for a very simple thing -
justify this commit, as
> On Jun 12, 2024, at 21:42, Matthieu Bouron wrote:
>
> Hello,
>
> This patchset adds Mediacodec audio decoders support. Currently, only AAC,
> AMR,
> MP3, FLAC, VORBIS and OPUS are supported.
>
> This is mainly useful to avoid shipping Android builds of FFmpeg that are
> subjects to licensin
On Wed, Jul 10, 2024 at 12:00 AM Michael Niedermayer
wrote:
> On Tue, Jul 09, 2024 at 05:14:37PM +0200, Anton Khirnov wrote:
> > Quoting Michael Niedermayer (2024-07-09 15:28:10)
> > > On Tue, Jul 09, 2024 at 03:17:58PM +0200, Anton Khirnov wrote:
> > > > > ensure width and height fit in 32bit
>
tile and untile are wrong
___
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".
demuxer is wrong on multiple levels, it should operate as pipe/stream only
___
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 w
Signed-off-by: James Almer
---
libavcodec/packet.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavcodec/packet.h b/libavcodec/packet.h
index 13667ffa36..fa73edaf85 100644
--- a/libavcodec/packet.h
+++ b/libavcodec/packet.h
@@ -328,7 +328,8 @@ enum AVPacketSideDataType
Signed-off-by: James Almer
---
doc/demuxers.texi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/demuxers.texi b/doc/demuxers.texi
index 04293c4813..986c427b1f 100644
--- a/doc/demuxers.texi
+++ b/doc/demuxers.texi
@@ -853,9 +853,9 @@ Range is from 1000 to INT_MAX. The
On Wed, Jul 10, 2024 at 04:01:44PM +0200, Paul B Mahol wrote:
> tile and untile are wrong
How so?
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-de
Fixes the conversion of double values to integer, which may be out of
the representable range.
Also, bail out on overflow check instead of printing an error only.
Found by OSS-Fuzz.
Signed-off-by: Kacper Michajłow
---
libavfilter/vf_scale.c | 33 +++--
1 file change
On Tue, 9 Jul 2024 at 23:43, Michael Niedermayer wrote:
>
> On Tue, Jul 09, 2024 at 04:46:59PM +0200, Kacper Michajlow wrote:
> > On Tue, 9 Jul 2024 at 15:17, Anton Khirnov wrote:
> > >
> > > Quoting Michael Niedermayer (2024-07-09 13:37:11)
> > > > Fixes: CID1513722 Operands don't affect result
Fixes Clang warning.
Signed-off-by: Kacper Michajłow
---
libavcodec/wmavoice.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/wmavoice.c b/libavcodec/wmavoice.c
index 258c71330c..3db73773b7 100644
--- a/libavcodec/wmavoice.c
+++ b/libavcodec/wmavoice.c
@@ -655,7 +
width and height > 32bit is not supported and its easier to check in a central
place
Signed-off-by: Michael Niedermayer
---
libavutil/imgutils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/imgutils.c b/libavutil/imgutils.c
index d2463815637..b738cff37c2 100644
On 7/10/2024 12:49 PM, Michael Niedermayer wrote:
width and height > 32bit is not supported and its easier to check in a central
place
Signed-off-by: Michael Niedermayer
---
libavutil/imgutils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/imgutils.c b/libav
On 7/9/24 1:21 PM, James Almer wrote:
It's meant to override any codec specific (but container level) information,
but its position is not guaranteed, so apply the values after the entire trak
structure has been parsed.
Also, replace the ugly roundabout int -> double -> int method to set SAR from
On Tue, Jul 09, 2024 at 05:41:32PM -0400, Sean McGovern wrote:
> For even small values of 'asrc[x]', shifting them by 24 bits or more
> will cause arithmetic overflow and be caught by
> GCC's undefined behaviour sanitizer.
>
> Ensure the values do not overflow by up-casting the bracketed
> express
On 7/10/2024 1:02 PM, Leo Izen wrote:
On 7/9/24 1:21 PM, James Almer wrote:
It's meant to override any codec specific (but container level)
information,
but its position is not guaranteed, so apply the values after the
entire trak
structure has been parsed.
Also, replace the ugly roundabout in
On Tue, Jul 09, 2024 at 02:41:16PM +0200, epira...@gmail.com wrote:
>
>
> On 6 Jul 2024, at 11:26, Stefano Sabatini wrote:
>
> > On date Tuesday 2024-07-02 20:38:00 +0200, Marvin Scholz wrote:
> >> An incorrect calculation in ff_perlin_init causes a write to the
> >> stack array at index 256, wh
On Wed, Jul 10, 2024 at 4:04 PM Zhao Zhili wrote:
>
>
> > On Jun 12, 2024, at 21:42, Matthieu Bouron
> > wrote:
> >
> > Hello,
> >
> > This patchset adds Mediacodec audio decoders support. Currently, only AAC,
> > AMR,
> > MP3, FLAC, VORBIS and OPUS are supported.
> >
> > This is mainly useful
On 7/9/2024 5:43 AM, epira...@gmail.com wrote:
On 8 Jul 2024, at 8:30, Zhao Zhili wrote:
From: Zhao Zhili
---
libavutil/hwcontext_videotoolbox.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavutil/hwcontext_videotoolbox.c
b/libavutil/hwcontext_videotoolbox.c
in
Should ensure no truncation ocurrs.
The input sample aspect ratio applies to the pre-cropping dimensions, so update
it.
Signed-off-by: James Almer
---
fftools/ffmpeg_filter.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filt
On 10 Jul 2024, at 19:26, James Almer wrote:
> On 7/9/2024 5:43 AM, epira...@gmail.com wrote:
>>
>>
>> On 8 Jul 2024, at 8:30, Zhao Zhili wrote:
>>
>>> From: Zhao Zhili
>>>
>>> ---
>>> libavutil/hwcontext_videotoolbox.c | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff
On Sat, Jun 08, 2024 at 01:18:00AM +0200, Michael Niedermayer wrote:
> It is not entirely clear what would prevent such overflow so even if it is
> not possible, it is better to use 64bit
>
> Fixes: CID1491898 Unintentional integer overflow
>
> Sponsored-by: Sovereign Tech Fund
> Signed-off-by: M
On Tue, Jun 18, 2024 at 03:48:26PM +0200, Michael Niedermayer wrote:
> Fixes: left shift of negative value -208
> Fixes:
> 69073/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_PRORES_KS_fuzzer-4745020002336768
>
> Found-by: continuous fuzzing process
> https://github.com/google/oss-fuzz/tree/
On Mon, Jul 01, 2024 at 01:12:45AM +0200, Michael Niedermayer wrote:
> Found through code review related to CID1604493 Overflowed constant
>
> Sponsored-by: Sovereign Tech Fund
> Signed-off-by: Michael Niedermayer
> ---
> doc/examples/mux.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(
This seems to be unsupported by LLVM-as.
---
libavcodec/riscv/h264idct_rvv.S | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/libavcodec/riscv/h264idct_rvv.S b/libavcodec/riscv/h264idct_rvv.S
index 741e7a5532..6f17df66cc 100644
--- a/libavcodec/riscv/h264idct_rvv.S
+++ b
T-Head C908 (cycles):
h264_idct4_add_9bpp_c:248.2
h264_idct4_add_9bpp_rvv_i32: 128.7
h264_idct4_add_10bpp_c: 256.7
h264_idct4_add_10bpp_rvv_i32: 128.7
h264_idct4_add_12bpp_c: 252.5
h264_idct4_add_12bpp_rvv_i32: 129.7
h264_idct4_add_14bpp_c: 258.0
h264_idct4_add_14bpp_rvv_
Fixes: CID1559901 Resource leak
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavfilter/vf_tiltandshift.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavfilter/vf_tiltandshift.c b/libavfilter/vf_tiltandshift.c
index b49a713339d..08bcb0624
Fixes: CID1437472 Dereference before null check
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavfilter/vf_tonemap_opencl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavfilter/vf_tonemap_opencl.c b/libavfilter/vf_tonemap_opencl.c
index
untested
Fixes: CID1440836 Dereference after null check
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavfilter/vf_tpad.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavfilter/vf_tpad.c b/libavfilter/vf_tpad.c
index 72d0bf338fe..a230a50022c 100644
--- a/li
Related: CID1423281 Out-of-bounds read
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavfilter/vf_unsharp_opencl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_unsharp_opencl.c b/libavfilter/vf_unsharp_opencl.c
index 09398464ca3.
Maybe helps: CID1504571 Uninitialized scalar variable
Sponsored-by: Sovereign Tech Fund
Signed-off-by: Michael Niedermayer
---
libavfilter/vf_v360.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavfilter/vf_v360.c b/libavfilter/vf_v360.c
index 299dbe9ff54..9a6c31228d3 100644
--- a/lib
Fixes: CID1458148 Result is not floating-point
Fixes: CID1458149 Result is not floating-point
Fixes: CID1458150 Result is not floating-point
Fixes: CID1458151 Result is not floating-point
Fixes: CID1458152 Result is not floating-point
Fixes: CID1458154 Result is not floating-point
Fixes: CID1458155
44 matches
Mail list logo