Re: [FFmpeg-devel] [PATCH 1/4] avfilter: Deduplicate default audio inputs/outputs

2023-08-05 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Lots of audio filters use very simple inputs or outputs: > An array with a single AVFilterPad whose name is "default" > and whose type is AVMEDIA_TYPE_AUDIO; everything else is unset. > > Given that we never use pointer equality for inputs or outputs*, > we can simply use a s

[FFmpeg-devel] [PATCH] avcodec/on2avc: use the matching AVTX context for the 512 sized iMDCT

2023-08-05 Thread Marton Balint
Improves the audio corruption regression caused by 6ba0aa1770ba29eb4126c6a706f6b0cd3809648f reported in ticket #10029. There is still however a noticable audio glitch, so the FFT conversion to AVTX probably also needs some modifications. Signed-off-by: Marton Balint --- libavcodec/on2avc.c | 2

Re: [FFmpeg-devel] [PATCH] avcodec/on2avc: use the matching AVTX context for the 512 sized iMDCT

2023-08-05 Thread Lynne
Aug 5, 2023, 10:33 by c...@passwd.hu: > Improves the audio corruption regression caused by > 6ba0aa1770ba29eb4126c6a706f6b0cd3809648f reported in ticket #10029. > > There is still however a noticable audio glitch, so the FFT conversion to AVTX > probably also needs some modifications. > > Signed-o

Re: [FFmpeg-devel] [PATCH] avcodec/on2avc: use the matching AVTX context for the 512 sized iMDCT

2023-08-05 Thread Lynne
Aug 5, 2023, 11:15 by d...@lynne.ee: > Aug 5, 2023, 10:33 by c...@passwd.hu: > >> Improves the audio corruption regression caused by >> 6ba0aa1770ba29eb4126c6a706f6b0cd3809648f reported in ticket #10029. >> >> There is still however a noticable audio glitch, so the FFT conversion to >> AVTX >> pr

Re: [FFmpeg-devel] [PATCH 3/5] avcodec/hwconfig: Move HWACCEL_CAP_* to a new header

2023-08-05 Thread Andreas Rheinhardt
Andreas Rheinhardt: > libavcodec/hwconfig.h currently contains HWACCEL_CAP_* flags > as well as the definition of AVCodecHWConfigInternal and some > macros to create them. > > The users of these two are nearly disjoint: The flags are used > by files providing AVHWAccels whereas AVCodecHWConfigInte

[FFmpeg-devel] [PATCH] lavc/vaapi_encode: Add filler_data option

2023-08-05 Thread David Rosca
--- libavcodec/vaapi_encode.c | 1 + libavcodec/vaapi_encode.h | 9 - 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c index bfca315a7a..f161c76304 100644 --- a/libavcodec/vaapi_encode.c +++ b/libavcodec/vaapi_encode.c @@ -

Re: [FFmpeg-devel] [PATCH] os_support, network: Fix build failure on Windows with BZIP2

2023-08-05 Thread L. E. Segovia
Hey, Yes, doing so directly in the configure script could be more useful. In fact, while I was doing further internal testing, I found two more instances that needed patching up. I'll update this set and let you know. amyspark On 04/08/2023 09:39, Martin Storsjö wrote: > On Fri, 4 Aug 2023, M

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/jpeg2000htdec: Consolidate jpeg2000 spec bits in jpeg2000_bitbuf_refill_backwards()

2023-08-05 Thread Michael Niedermayer
On Fri, Aug 04, 2023 at 06:41:24PM -0700, Pierre-Anthony Lemieux wrote: > 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-6

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/jpeg2000htdec: Check m

2023-08-05 Thread Michael Niedermayer
On Fri, Aug 04, 2023 at 06:19:46PM -0700, Pierre-Anthony Lemieux wrote: > 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-test

Re: [FFmpeg-devel] [PATCH] avcodec/on2avc: use the matching AVTX context for the 512 sized iMDCT

2023-08-05 Thread Marton Balint
On Sat, 5 Aug 2023, Lynne wrote: Aug 5, 2023, 11:15 by d...@lynne.ee: Aug 5, 2023, 10:33 by c...@passwd.hu: Improves the audio corruption regression caused by 6ba0aa1770ba29eb4126c6a706f6b0cd3809648f reported in ticket #10029. There is still however a noticable audio glitch, so the FFT co

[FFmpeg-devel] [PATCH] avcodec/tta: fix signed overflow in decorrelate

2023-08-05 Thread Michael Niedermayer
Fixes: signed integer overflow: 2079654542 - -139267653 cannot be represented in type 'int' Fixes: 60811/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TTA_fuzzer-5915858409750528 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-b

Re: [FFmpeg-devel] [PATCH 1/2] avradio/sdr: Add CQUAM support

2023-08-05 Thread Michael Niedermayer
On Fri, Jul 28, 2023 at 12:38:36AM +0200, Michael Niedermayer wrote: > untested as i have no clean signal from a CQUAM station > > Signed-off-by: Michael Niedermayer > --- > libavradio/sdr.h | 1 + > libavradio/sdrdemux.c | 37 +++-- > 2 files changed, 32 in

Re: [FFmpeg-devel] [PATCH 1/2] avradio/sdr: Add CQUAM support

2023-08-05 Thread Paul B Mahol
NAK ___ 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] What is FFmpeg and what should it be

2023-08-05 Thread Michael Niedermayer
Hi replying to the other question too On Wed, Aug 02, 2023 at 04:44:14PM +0200, Jean-Baptiste Kempf wrote: > On Wed, 2 Aug 2023, at 16:20, Michael Niedermayer wrote: > > There are multiple problems but the real problem is that > > How many people discuss an SDR API ? (0) > > How many people propo

Re: [FFmpeg-devel] What is FFmpeg and what should it be

2023-08-05 Thread Paul B Mahol
Your attempts to troll other developers to work on SDR/AVRadio is flawed and disrespectful to other FFmpeg people. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or

[FFmpeg-devel] [PATCH v3 0/1] configure: Set WIN32_LEAN_AND_MEAN at configure time

2023-08-05 Thread L. E. Segovia
Thanks Martin for the suggestion, I've implemented it in this version. As for the changes to os_support.c, the removal was intended to avoid duplicating the logic that already exists in os_support.h. I've kept it in this version for consistency. L. E. Segovia (1): configure: Set WIN32_LEAN_AND_

[FFmpeg-devel] [PATCH v3 1/1] configure: Set WIN32_LEAN_AND_MEAN at configure time

2023-08-05 Thread L. E. Segovia
Including winsock2.h or windows.h without WIN32_LEAN_AND_MEAN cause bzlib.h to parse as nonsense, due to an instance of #define char small in rpcndr.h. See: https://stackoverflow.com/a/27794577 Signed-off-by: L. E. Segovia --- compat/atomics/win32/stdatomic.h | 1 - compat/w32pthreads.h

Re: [FFmpeg-devel] What is FFmpeg and what should it be

2023-08-05 Thread Vittorio Giovara
On Sat, Aug 5, 2023 at 8:55 PM Michael Niedermayer wrote: > Hi > > replying to the other question too > > On Wed, Aug 02, 2023 at 04:44:14PM +0200, Jean-Baptiste Kempf wrote: > > On Wed, 2 Aug 2023, at 16:20, Michael Niedermayer wrote: > > > There are multiple problems but the real problem is tha