On Tue, Aug 1, 2023 at 5:02 PM Michael Niedermayer
wrote:
>
> Code should make more sense now
>
> Fixes: out of array access
> Fixes:
> 58299/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-6627570448465920
>
> Found-by: continuous fuzzing process
>
On Tue, Aug 1, 2023 at 5:02 PM Michael Niedermayer
wrote:
>
> This also fixes assertion failures
>
> Fixes: shift exponent 95 is too large for 64-bit type 'unsigned long long'
> Fixes:
> 58299/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-5828618092937216
>
> Found-by:
On Fri, 4 Aug 2023, 13:35 Nicolas George, wrote:
> Michael Niedermayer (12023-08-04):
> > Everything is there for a reason.
> > Every part of mp4 has a use, still we extract the data and setup various
> > structs like AVStream, AVPacket, AVProgram and so on.
> > We do not return raw mp4/mov
This is the very last user of any lavc transform code.
This also *corrects* wmavoice decoding, as the previous DCT/DST
transforms were incorrect, bringing it closer to Microsoft's
own wmavoice decoder.
Note: this requires new FATE files, or for the tests to be modified
to use a target error.
Patch attached.
>From a5b6b7d954447d4cc07377f00370a0781e5056b3 Mon Sep 17 00:00:00 2001
From: Lynne
Date: Fri, 4 Aug 2023 20:20:10 +0200
Subject: [PATCH 1/2] wmavoice: convert RDFT to lavu/tx
---
libavcodec/wmavoice.c | 75 ++-
1 file changed, 45
On May 24, 2015 at 04:49PM, Michael Niedermayer wrote:
> On Sun, May 24, 2015 at 06:39:05PM -0300, James Almer wrote:
> > On 24/05/15 5:59 PM, Michael Niedermayer wrote:
> > > On Sun, May 24, 2015 at 04:22:42PM -0300, James Almer wrote:
> > >> Use either the WebPEncoder or WebPAnimEncoder APIs
Michael Niedermayer (12023-08-04):
> Everything is there for a reason.
> Every part of mp4 has a use, still we extract the data and setup various
> structs like AVStream, AVPacket, AVProgram and so on.
> We do not return raw mp4/mov atoms
> the seperation between programs in a stream of bits/bytes
Andreas Rheinhardt:
> asivery:
>> Signed-off-by: asivery
>> ---
>> libavformat/matroska.c | 1 +
>> libavformat/matroskadec.c | 2 ++
>> 2 files changed, 3 insertions(+)
>>
>> diff --git a/libavformat/matroska.c b/libavformat/matroska.c
>> index 90d94b65bf..37305a523c 100644
>> ---
Aug 4, 2023, 15:50 by tong1.wu-at-intel@ffmpeg.org:
> From: Wu Jianhua
>
> Signed-off-by: Wu Jianhua
> Signed-off-by: Tong Wu
> ---
> configure | 5 +
> doc/APIchanges | 7 +
> libavutil/Makefile | 3 +
>
asivery:
> Signed-off-by: asivery
> ---
> libavformat/matroska.c | 1 +
> libavformat/matroskadec.c | 2 ++
> 2 files changed, 3 insertions(+)
>
> diff --git a/libavformat/matroska.c b/libavformat/matroska.c
> index 90d94b65bf..37305a523c 100644
> --- a/libavformat/matroska.c
> +++
On Thu, Aug 03, 2023 at 04:04:23PM -0400, Kieran Kunhya wrote:
> On Thu, 3 Aug 2023, 15:25 Michael Niedermayer,
> wrote:
>
> > On Thu, Aug 03, 2023 at 02:24:04PM -0400, Kieran Kunhya wrote:
> > > >
> > > >
> > > > There are 2 things DAB and DVB both use mpeg ts
> > > >
> > >
> > > DAB does not
From: Wu Jianhua
Signed-off-by: Wu Jianhua
Signed-off-by: Tong Wu
---
Changelog | 1 +
1 file changed, 1 insertion(+)
diff --git a/Changelog b/Changelog
index bbda4f4fd4..5b21103b29 100644
--- a/Changelog
+++ b/Changelog
@@ -27,6 +27,7 @@ version :
- Bitstream filter for converting VVC from
From: Wu Jianhua
The command below is how to enable d3d12va:
ffmpeg -hwaccel d3d12va -i input.mp4 output.mp4
Signed-off-by: Wu Jianhua
Signed-off-by: Tong Wu
---
configure | 3 +
libavcodec/Makefile | 1 +
libavcodec/d3d12va_vc1.c| 214
Same as d3d11va, this flag enables main still picture profile for
d3d12va. User should add this flag when decoding main still picture
profile.
Signed-off-by: Tong Wu
---
libavcodec/d3d12va_hevc.c | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git
From: Wu Jianhua
The command below is how to enable d3d12va:
ffmpeg -hwaccel d3d12va -i input.mp4 output.mp4
Signed-off-by: Wu Jianhua
Signed-off-by: Tong Wu
---
configure | 2 +
libavcodec/Makefile | 1 +
libavcodec/d3d12va_mpeg2.c | 191
From: Wu Jianhua
The command below is how to enable d3d12va:
ffmpeg -hwaccel d3d12va -i input.mp4 output.mp4
Signed-off-by: Wu Jianhua
Signed-off-by: Tong Wu
---
configure | 2 +
libavcodec/Makefile | 1 +
libavcodec/av1dec.c | 10 ++
From: Wu Jianhua
The command below is how to enable d3d12va:
ffmpeg -hwaccel d3d12va -i input.mp4 output.mp4
Signed-off-by: Wu Jianhua
Signed-off-by: Tong Wu
---
configure | 2 +
libavcodec/Makefile | 1 +
libavcodec/d3d12va_vp9.c| 176
From: Wu Jianhua
The command below is how to enable d3d12va:
ffmpeg -hwaccel d3d12va -i input.mp4 output.mp4
Signed-off-by: Wu Jianhua
Signed-off-by: Tong Wu
---
configure | 2 +
libavcodec/Makefile | 1 +
libavcodec/d3d12va_hevc.c | 211
From: Wu Jianhua
The implementation is based on:
https://learn.microsoft.com/en-us/windows/win32/medfound/direct3d-12-video-overview
With the Direct3D 12 video decoding support, we can render or process
the decoded images by the pixel shaders or compute shaders directly
without the extra copy
From: Wu Jianhua
Signed-off-by: Wu Jianhua
Signed-off-by: Tong Wu
---
configure | 5 +
doc/APIchanges | 7 +
libavutil/Makefile | 3 +
libavutil/hwcontext.c | 4 +
libavutil/hwcontext.h
On Fri, 4 Aug 2023, Martin Storsjö wrote:
On Thu, 27 Jul 2023, L. E. Segovia wrote:
Including winsock2.h without WIN32_LEAN_AND_MEAN causes bzlib.h to parse
as nonsense, due to an instance of #define char small in rpcndr.h
(included transitively from windows.h).
See:
On Thu, 27 Jul 2023, L. E. Segovia wrote:
Including winsock2.h without WIN32_LEAN_AND_MEAN causes bzlib.h to parse
as nonsense, due to an instance of #define char small in rpcndr.h
(included transitively from windows.h).
See: https://stackoverflow.com/a/27794577
Signed-off-by: L. E. Segovia
On Wed, 2 Aug 2023, Martin Storsjö wrote:
In WinRT mode, we use CreateThread instead of _beginthreadex.
CreateThread takes a LPTHREAD_START_ROUTINE function pointer,
which has got the signature DWORD WINAPI ThreadProc(LPVOID).
_beginthreadex takes a function with the signature
unsigned
On Wed, 2 Aug 2023, Martin Storsjö wrote:
This fixes the test when running in a cross test setup where the
samples are located at a different path between build host and
temote test target.
---
tests/fate/hlsenc.mak | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Use the GCC specific codepath for Clang in MSVC mode too.
This matches the condition used in a number of other places.
MSVC doesn't have a way to signal potential aliasing, while GCC
(and Clang) can use __attribute__((may_alias)) for this purpose.
When building with Clang in MSVC mode, __GNUC__
On Mon, Jul 31, 2023 at 9:38 AM Devin Heitmueller
wrote:
>
> Properly set up the MPEG-TS mux and recalculate the pts_adjust field
> in SCTE_35 packets, such that a user can transparently pass through
> SCTE-35 streams when both the input and output are MPEG-TS.
>
> This patch series updated to
On Thu, 27 Jul 2023, Rémi Denis-Courmont wrote:
Hi,
The use of RET vs BR also has microarchitectural side effects. AFAIU, RET
should always be paired with an earlier BL/BLR to avoid interfering with branch
prediction.
So depending on the circumstances, either one of these should be
Andreas Rheinhardt:
> This would only be necessary if this header declared a function
> that takes a (pointer to) struct AVCodecContext as parameter.
>
> Signed-off-by: Andreas Rheinhardt
> ---
> libavcodec/avcodec.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git
Steven Liu 于2023年7月24日周一 17:20写道:
>
> Signed-off-by: Steven Liu
> ---
> tests/fate/flvenc.mak| 7 +-
> tests/ref/fate/enhanced-flv-hevc | 258 +++
> 2 files changed, 264 insertions(+), 1 deletion(-)
> create mode 100644 tests/ref/fate/enhanced-flv-hevc
Hi,
Just wondering what current thoughts on the patch was. It looks as
though the change is fine, but if there is still an issue I can submit a
new patch using BTI landing pads instead.
Best regards,
Casey.
On 7/27/23 18:22, Reimar Döffinger wrote:
On 27 Jul 2023, at 15:55, Rémi
On Wo, 2023-07-19 at 18:01 +0800, Tong Wu wrote:
> From: Wu Jianhua
>
> Signed-off-by: Wu Jianhua
> Signed-off-by: Tong Wu
> ---
> configure | 5 +
> doc/APIchanges | 7 +
> libavutil/Makefile | 3 +
>
31 matches
Mail list logo