Re: [FFmpeg-devel] [PATCH v2] avformat/nut: Store display matrix side data

2020-11-03 Thread Matthias Neugebauer
Stream side data such as display matrix is currently lost when using NUT. Signed-off-by: Matthias Neugebauer --- libavformat/nutdec.c | 9 + libavformat/nutenc.c | 18 ++ 2 files changed, 27 insertions(+) diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c index 53a05

Re: [FFmpeg-devel] [PATCH 1/3] kmsgrab: Use invalid modifier if modifiers weren't used.

2020-11-03 Thread Bas Nieuwenhuizen
On Wed, Nov 4, 2020 at 12:52 AM Mark Thompson wrote: > > On 03/11/2020 23:17, Bas Nieuwenhuizen wrote: > > The kernel defaults to initializing the field to 0 when modifiers > > are not used and this happens to be linear. If we end up actually > > passing the modifier to a driver, tiling issues hap

Re: [FFmpeg-devel] [PATCH 1/3] kmsgrab: Use invalid modifier if modifiers weren't used.

2020-11-03 Thread Bas Nieuwenhuizen
On Wed, Nov 4, 2020 at 1:21 AM Bas Nieuwenhuizen wrote: > > On Wed, Nov 4, 2020 at 12:52 AM Mark Thompson wrote: > > > > On 03/11/2020 23:17, Bas Nieuwenhuizen wrote: > > > The kernel defaults to initializing the field to 0 when modifiers > > > are not used and this happens to be linear. If we en

Re: [FFmpeg-devel] [PATCH 2/3] kmsgrab: Do not require the modifier to stay constant.

2020-11-03 Thread Bas Nieuwenhuizen
On Wed, Nov 4, 2020 at 1:09 AM Mark Thompson wrote: > > On 03/11/2020 23:17, Bas Nieuwenhuizen wrote: > > As we get a new set of objects each frame anyway, we > > do not gain anything by keeping the modifier constant. > > > > This helps with capturing when switching your setup a > > bit, e.g. from

[FFmpeg-devel] [PATCH 2/7] avcodec/smvjpegdec: reorder setting output frame code

2020-11-03 Thread Michael Niedermayer
Fixes: assertion failure Fixes: 26813/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SMVJPEG_fuzzer-5756269803339776 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/smvjpegdec.c | 6 +++---

[FFmpeg-devel] [PATCH 5/7] avformat/mpegts: Limit copied data to space

2020-11-03 Thread Michael Niedermayer
Fixes: out of array access Fixes: 26816/clusterfuzz-testcase-minimized-ffmpeg_dem_MPEGTSRAW_fuzzer-6282861159907328.fuzz Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/mpegts.c | 2 +- 1 fil

[FFmpeg-devel] [PATCH 4/7] avformat/icodec: Check for zero streams and stream creation failure

2020-11-03 Thread Michael Niedermayer
Fixes: NULL pointer dereference Fixes: 26814/clusterfuzz-testcase-minimized-ffmpeg_dem_ICO_fuzzer-5758487797432320 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/icodec.c | 7 +-- 1 file

[FFmpeg-devel] [PATCH 3/7] avformat/icodec: Factor failure code out in read_header()

2020-11-03 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavformat/icodec.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavformat/icodec.c b/libavformat/icodec.c index c061f3ec42..cf1e60815e 100644 --- a/libavformat/icodec.c +++ b/libavformat/icodec.c @@ -113,8 +113,7 @@ st

[FFmpeg-devel] [PATCH 6/7] avcodec/utils: USe 64bit in get_audio_frame_duration() for ADPCM_DTK

2020-11-03 Thread Michael Niedermayer
Fixes: signed integer overflow: 131203586 * 28 cannot be represented in type 'int' Fixes: 26817/clusterfuzz-testcase-minimized-ffmpeg_dem_MSF_fuzzer-6296902548848640 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Nieder

[FFmpeg-devel] [PATCH 1/7] avformat/mpc8: correct 32bit timestamp truncation

2020-11-03 Thread Michael Niedermayer
Fixes: left shift of 65536 by 15 places cannot be represented in type 'int' Fixes: 26801/clusterfuzz-testcase-minimized-ffmpeg_dem_MPC8_fuzzer-5164313092030464 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer

[FFmpeg-devel] [PATCH 7/7] avformat/fitsdec: Better size checks

2020-11-03 Thread Michael Niedermayer
Fixes: out of array access Fixes: 26819/clusterfuzz-testcase-minimized-ffmpeg_dem_FITS_fuzzer-5634559355650048 Fixes: 26820/clusterfuzz-testcase-minimized-ffmpeg_dem_FITS_fuzzer-5760774955597824 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg

Re: [FFmpeg-devel] [PATCH 2/3] kmsgrab: Do not require the modifier to stay constant.

2020-11-03 Thread Mark Thompson
On 03/11/2020 23:17, Bas Nieuwenhuizen wrote: As we get a new set of objects each frame anyway, we do not gain anything by keeping the modifier constant. This helps with capturing when switching your setup a bit, e.g. from ingame to desktop or from X11 to wayland. --- libavdevice/kmsgrab.c | 7

Re: [FFmpeg-devel] [PATCH 1/3] kmsgrab: Use invalid modifier if modifiers weren't used.

2020-11-03 Thread Mark Thompson
On 03/11/2020 23:17, Bas Nieuwenhuizen wrote: The kernel defaults to initializing the field to 0 when modifiers are not used and this happens to be linear. If we end up actually passing the modifier to a driver, tiling issues happen. So if the kernel doesn't return a modifier set it explicitly t

[FFmpeg-devel] [PATCH 3/3] hwcontext_vaapi: Use PRIME_2 memory type for modifiers.

2020-11-03 Thread Bas Nieuwenhuizen
This way we can pass explicit modifiers in. Sometimes the modifier matters for the number of memory planes that libva accepts, in particular when dealing with driver-compressed textures. Furthermore the driver might not actually be able to determine the implicit modifier if all the buffer-passing h

[FFmpeg-devel] [PATCH 1/3] kmsgrab: Use invalid modifier if modifiers weren't used.

2020-11-03 Thread Bas Nieuwenhuizen
The kernel defaults to initializing the field to 0 when modifiers are not used and this happens to be linear. If we end up actually passing the modifier to a driver, tiling issues happen. So if the kernel doesn't return a modifier set it explicitly to INVALID. That way later processing knows there

[FFmpeg-devel] [PATCH 2/3] kmsgrab: Do not require the modifier to stay constant.

2020-11-03 Thread Bas Nieuwenhuizen
As we get a new set of objects each frame anyway, we do not gain anything by keeping the modifier constant. This helps with capturing when switching your setup a bit, e.g. from ingame to desktop or from X11 to wayland. --- libavdevice/kmsgrab.c | 7 --- 1 file changed, 7 deletions(-) diff --

Re: [FFmpeg-devel] [PATCH] avformat/dhav: also support ZLAV packets

2020-11-03 Thread Moritz Barsnick
On Sat, Oct 24, 2020 at 13:32:25 +1300, Michael Keeley wrote: > -if (memcmp(p->buf, "DHAV", 4)) > +if (memcmp(p->buf, "DHAV", 4) != 0 && memcmp(p->buf, "ZLAV", 4) != 0) The "!= 0" isn't necessary. > -if (!memcmp(signature, "DHAV", 4)) { > +if (memcmp(signature, "DHAV", 4)

Re: [FFmpeg-devel] [PATCH 1/3] vaapi_encode_h264: Fix setting colour properties

2020-11-03 Thread Mark Thompson
On 03/11/2020 16:51, Eoff, Ullysses A wrote:>> -Original Message- From: ffmpeg-devel On Behalf Of Jan Ekström Sent: Tuesday, November 03, 2020 3:17 AM To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] [PATCH 1/3] vaapi_encode_h264: Fix setting colour properties

[FFmpeg-devel] [PATCH v7 3/8] libavutil/hwcontext_qsv: enabling d3d11va usage by default, add usage child_device_type argument

2020-11-03 Thread Artem Galin
Makes selection of d3d11va device type by default and over DirectX 9, which might break users with older drivers/systems. DCH driver with Gen6th support should be still fine. Decode, encode, transcode have been validated. child_device_type option is responsible for d3d11va/dxva2 device selection

[FFmpeg-devel] [PATCH v7 2/8] libavutil/hwcontext_qsv: supporting d3d11va device type

2020-11-03 Thread Artem Galin
This enables usage of non-powered/headless GPU, better HDR support. Pool of resources is allocated as one texture with array of slices. Signed-off-by: Artem Galin --- libavutil/hwcontext_qsv.c | 323 +++--- 1 file changed, 262 insertions(+), 61 deletions(-) diff

[FFmpeg-devel] [PATCH v7 4/8] libavutil/hwcontext_d3d11va: adding more texture information to the D3D11 hwcontext API

2020-11-03 Thread Artem Galin
Microsoft VideoProcessor requires texture with D3DUSAGE_RENDERTARGET flag as output. There is no way to allocate array of textures with D3D11_BIND_RENDER_TARGET flag and .ArraySize > 2 by ID3D11Device_CreateTexture2D due to the Microsoft limitation. Adding AVD3D11FrameDescriptors array to store a

[FFmpeg-devel] [PATCH v7 8/8] libavfilter/vf_deinterlace_qsv: enabling d3d11va support, added mfxhdlpair

2020-11-03 Thread Artem Galin
Adding DX11 relevant device type checks and adjusting callback with proper MediaSDK pair type support. Signed-off-by: Artem Galin --- libavfilter/vf_deinterlace_qsv.c | 44 ++-- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git a/libavfilter/vf_deinterlace

[FFmpeg-devel] [PATCH v7 5/8] libavfilter/qsvvpp: enabling d3d11va support, added mfxhdlpair

2020-11-03 Thread Artem Galin
Adding DX11 relevant device type checks and adjusting callback with proper MediaSDK pair type support. Signed-off-by: Artem Galin --- libavfilter/qsvvpp.c | 31 ++- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/libavfilter/qsvvpp.c b/libavfilter/qsvv

[FFmpeg-devel] [PATCH v7 7/8] libavfilter/vf_scale_qsv: add MFX_MEMTYPE_FROM_VPPOUT flag to frame_type

2020-11-03 Thread Artem Galin
In case of DX11 device type, Media SDK is sensitive to these flags. Signed-off-by: Artem Galin --- libavfilter/vf_scale_qsv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_scale_qsv.c b/libavfilter/vf_scale_qsv.c index 47701c20d0..9eb59325c3 100644 --- a/liba

[FFmpeg-devel] [PATCH v7 6/8] libavfilter/vf_scale_qsv: enabling d3d11va support, added mfxhdlpair

2020-11-03 Thread Artem Galin
Adding DX11 relevant device type checks and adjusting callback with proper MediaSDK pair type support. Signed-off-by: Artem Galin --- libavfilter/vf_scale_qsv.c | 43 +- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/libavfilter/vf_scale_qsv.c

[FFmpeg-devel] [PATCH v7 1/8] libavcodec/qsv: enabling d3d11va support, added mfxhdlpair

2020-11-03 Thread Artem Galin
Adding DX11 relevant device type checks and adjusting callbacks with proper MediaSDK pair type support. Extending structure for proper MediaSDK pair type support. Signed-off-by: Artem Galin --- libavcodec/qsv.c | 53 ++- libavcodec/qsv_internal.h |

[FFmpeg-devel] [PATCH 7/7] avcodec/truemotion2: Allocate buffers together

2020-11-03 Thread Andreas Rheinhardt
Reduces the number of allocations and frees. Signed-off-by: Andreas Rheinhardt --- libavcodec/truemotion2.c | 46 +--- 1 file changed, 19 insertions(+), 27 deletions(-) diff --git a/libavcodec/truemotion2.c b/libavcodec/truemotion2.c index a90ff8cf01..0f4f345

[FFmpeg-devel] [PATCH 5/7] avcodec/truemotion2: Remove redundant initializations

2020-11-03 Thread Andreas Rheinhardt
The codec's private context has already been zeroed generically. Signed-off-by: Andreas Rheinhardt --- libavcodec/truemotion2.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/libavcodec/truemotion2.c b/libavcodec/truemotion2.c index 51266e5744..1ae13bbf06 100644 --- a

[FFmpeg-devel] [PATCH 6/7] avcodec/truemotion2: Cleanup generically on init failure

2020-11-03 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/truemotion2.c | 13 ++--- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/libavcodec/truemotion2.c b/libavcodec/truemotion2.c index 1ae13bbf06..a90ff8cf01 100644 --- a/libavcodec/truemotion2.c +++ b/libavcodec/truemotion2.c @

[FFmpeg-devel] [PATCH 4/7] avcodec/truemotion2: Replace av_free() by av_freep() in AVCodec.close

2020-11-03 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/truemotion2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/truemotion2.c b/libavcodec/truemotion2.c index a1d4eea340..51266e5744 100644 --- a/libavcodec/truemotion2.c +++ b/libavcodec/truemotion2.c @@ -1016,8 +

[FFmpeg-devel] [PATCH 3/7] avcodec/sonic: Don't hardcode sizeof(int) == 4

2020-11-03 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/sonic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/sonic.c b/libavcodec/sonic.c index db2c4339a3..a285228bbc 100644 --- a/libavcodec/sonic.c +++ b/libavcodec/sonic.c @@ -506,7 +506,7 @@ static void modified_l

[FFmpeg-devel] [PATCH 2/7] avcodec/sonic: Don't allocate a temporary buffer for every frame

2020-11-03 Thread Andreas Rheinhardt
Instead allocate it together with the buffer that it mirrors. Signed-off-by: Andreas Rheinhardt --- libavcodec/sonic.c | 16 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/libavcodec/sonic.c b/libavcodec/sonic.c index bca1eca27a..db2c4339a3 100644 --- a/libavcode

[FFmpeg-devel] [PATCH 1/7] avcodec/sonic: Allocate several buffers together

2020-11-03 Thread Andreas Rheinhardt
It simplifies freeing them and reduces the amount of allocations. Signed-off-by: Andreas Rheinhardt --- libavcodec/sonic.c | 48 -- 1 file changed, 21 insertions(+), 27 deletions(-) diff --git a/libavcodec/sonic.c b/libavcodec/sonic.c index 0d4891ebf4

Re: [FFmpeg-devel] [PATCH v3] hlsenc: expand hls_fmp4_init_filename with strftime()

2020-11-03 Thread Nikola Pajkovsky
Nikola Pajkovsky writes: Ping? > init.mp4 can be expanded with strftime() the same way as > hls_segment_filename. > > Signed-off-by: Nikola Pajkovsky > --- > v2: fix memleak on strftime failure > v3: use av_free() insted of free() > > doc/muxers.texi | 7 ++ > libavformat/hlsenc.c

Re: [FFmpeg-devel] [PATCH 1/3] vaapi_encode_h264: Fix setting colour properties

2020-11-03 Thread Eoff, Ullysses A
> -Original Message- > From: ffmpeg-devel On Behalf Of Jan Ekström > Sent: Tuesday, November 03, 2020 3:17 AM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH 1/3] vaapi_encode_h264: Fix setting colour > properties > > On Tue, Nov 3, 2020 at 12:59

Re: [FFmpeg-devel] [PATCH 1/6] tools/enum_options: fix build and add to Makefile

2020-11-03 Thread James Almer
On 11/3/2020 10:32 AM, Anton Khirnov wrote: > Quoting James Almer (2020-11-02 16:26:57) >> On 11/2/2020 10:17 AM, Anton Khirnov wrote: >>> --- >>> Makefile | 3 +++ >>> tools/Makefile | 2 +- >>> tools/enum_options.c | 26 +- >>> 3 files changed, 17 inse

Re: [FFmpeg-devel] [PATCH v4] Unbreak av_malloc_max(0) API/ABI

2020-11-03 Thread Andreas Rheinhardt
Joakim Tjernlund: > On Tue, 2020-11-03 at 14:38 +0100, Andreas Rheinhardt wrote: >> >> Timo Rothenpieler: >>> Given the multitude of recent serious security issues in Chromium-Based >>> Browsers, is this even still an issue? >>> Anything not up to date enough to have already been fixed has serious

Re: [FFmpeg-devel] [PATCH v4] Unbreak av_malloc_max(0) API/ABI

2020-11-03 Thread Joakim Tjernlund
On Tue, 2020-11-03 at 14:38 +0100, Andreas Rheinhardt wrote: > > Timo Rothenpieler: > > Given the multitude of recent serious security issues in Chromium-Based > > Browsers, is this even still an issue? > > Anything not up to date enough to have already been fixed has serious > > security issues a

[FFmpeg-devel] [PATCH] avformat/argo_brp: remove block_align check for audio

2020-11-03 Thread Zane van Iperen
Causes a divide-by-zero in the rare case where: - the file has an audio stream, - the first audio frame isn't within the first BRP_BASF_LOOKAHEAD frames, - an audio frame is encountered later, and - its chunk header (except num_blocks) contains all zeros (matching the uninitialised structure in

Re: [FFmpeg-devel] [PATCH v4] Unbreak av_malloc_max(0) API/ABI

2020-11-03 Thread Andreas Rheinhardt
Timo Rothenpieler: > Given the multitude of recent serious security issues in Chromium-Based > Browsers, is this even still an issue? > Anything not up to date enough to have already been fixed has serious > security issues and should be updated ASAP, which also fixes this issue > in turn. > > I'd

Re: [FFmpeg-devel] [PATCH 1/6] tools/enum_options: fix build and add to Makefile

2020-11-03 Thread Anton Khirnov
Quoting James Almer (2020-11-02 16:26:57) > On 11/2/2020 10:17 AM, Anton Khirnov wrote: > > --- > > Makefile | 3 +++ > > tools/Makefile | 2 +- > > tools/enum_options.c | 26 +- > > 3 files changed, 17 insertions(+), 14 deletions(-) > > > > diff --git

Re: [FFmpeg-devel] [PATCH v4] Unbreak av_malloc_max(0) API/ABI

2020-11-03 Thread James Almer
On 11/3/2020 10:19 AM, Joakim Tjernlund wrote: > On Tue, 2020-11-03 at 10:05 -0300, James Almer wrote: >> >> On 11/3/2020 9:12 AM, Anton Khirnov wrote: >>> Quoting Joakim Tjernlund (2020-11-03 12:39:53) Pretty please ? >>> >>> ok, would people who are strongly against this patch please raise t

Re: [FFmpeg-devel] [PATCH v4] Unbreak av_malloc_max(0) API/ABI

2020-11-03 Thread Joakim Tjernlund
On Tue, 2020-11-03 at 10:05 -0300, James Almer wrote: > > On 11/3/2020 9:12 AM, Anton Khirnov wrote: > > Quoting Joakim Tjernlund (2020-11-03 12:39:53) > > > Pretty please ? > > > > ok, would people who are strongly against this patch please raise their > > hands. > > Would applying this to mast

Re: [FFmpeg-devel] [PATCH v4] Unbreak av_malloc_max(0) API/ABI

2020-11-03 Thread James Almer
On 11/3/2020 9:12 AM, Anton Khirnov wrote: > Quoting Joakim Tjernlund (2020-11-03 12:39:53) >> Pretty please ? > > ok, would people who are strongly against this patch please raise their > hands. Would applying this to master now (backporting it to 4.3 too) and then reverting it at the time of th

Re: [FFmpeg-devel] [PATCH v4] Unbreak av_malloc_max(0) API/ABI

2020-11-03 Thread Timo Rothenpieler
Given the multitude of recent serious security issues in Chromium-Based Browsers, is this even still an issue? Anything not up to date enough to have already been fixed has serious security issues and should be updated ASAP, which also fixes this issue in turn. I'd rather see downstream users

Re: [FFmpeg-devel] [PATCH v4] Unbreak av_malloc_max(0) API/ABI

2020-11-03 Thread Anton Khirnov
Quoting Joakim Tjernlund (2020-11-03 12:39:53) > Pretty please ? ok, would people who are strongly against this patch please raise their hands. Personally I'm ok with pushing this, even though it's ugly. Then again the vey existence of av_malloc_max is ugly and it should be deprecated IMO. -- A

Re: [FFmpeg-devel] [PATCH 1/3] vaapi_encode_h264: Fix setting colour properties

2020-11-03 Thread Jan Ekström
On Tue, Nov 3, 2020 at 12:59 AM Mark Thompson wrote: > > The properties should always be set; only the presence flags want to be > conditional. > > Fixes #8959. > --- Thanks for this on such short notice. Patch set LGTM, and simplifies the logic nicely for these values (always set, only set flags

[FFmpeg-devel] [PATCH v3 5/5] avformat: add amv muxer

2020-11-03 Thread Zane van Iperen
AMV is a hard-coded (and broken) subset of AVI. It's not worth sullying the existing AVI muxer with its filth. Fixes ticket #747. Signed-off-by: Zane van Iperen --- MAINTAINERS | 1 + libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/amvenc.c | 4

[FFmpeg-devel] [PATCH v3 3/5] avcodec/adpcm_ima_amv: document header format

2020-11-03 Thread Zane van Iperen
Signed-off-by: Zane van Iperen --- libavcodec/adpcm.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index d0807cbd98..7f2c958d16 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -1698,6 +1698,16 @@ static int adpcm_decode_frame(

[FFmpeg-devel] [PATCH v3 4/5] avcodec: add adpcm_ima_amv encoder

2020-11-03 Thread Zane van Iperen
Fixes ticket #747. Signed-off-by: Zane van Iperen --- doc/general_contents.texi | 2 +- libavcodec/adpcmenc.c | 58 ++- libavcodec/allcodecs.c| 1 + libavcodec/utils.c| 1 + 4 files changed, 60 insertions(+), 2 deletions(-) diff --git a/doc

[FFmpeg-devel] [PATCH v3 1/5] avcodec/adpcm_ima_amv: restrict to 1 channel

2020-11-03 Thread Zane van Iperen
The format doesn't allow for anything else. Signed-off-by: Zane van Iperen --- libavcodec/adpcm.c | 5 - libavcodec/utils.c | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index 701b125c47..d34fd6c6e1 100644 --- a/libavcodec/adpc

[FFmpeg-devel] [PATCH v3 2/5] avcodec/adpcm_ima_amv: handle odd sample counts

2020-11-03 Thread Zane van Iperen
Signed-off-by: Zane van Iperen --- libavcodec/adpcm.c | 25 ++- tests/ref/fate/adpcm-ima-amv | 312 +-- 2 files changed, 180 insertions(+), 157 deletions(-) diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index d34fd6c6e1..d0807cbd98 100644 --- a/l

[FFmpeg-devel] [PATCH v3 0/5] AMV muxing and adpcm_ima_amv encoding support

2020-11-03 Thread Zane van Iperen
Adds support for encoding to adpcm_ima_amv and muxing to AMV. Things to note: - AMV is a hard-coded (and broken) subset of AVI. It's not worth sullying the existing AVI muxer with its filth. - The muxer is extremely pedantic about its streams, this is to not break certain software players. - T

Re: [FFmpeg-devel] [PATCH v4] Unbreak av_malloc_max(0) API/ABI

2020-11-03 Thread Joakim Tjernlund
Pretty please ? Jocke On Thu, 2020-10-29 at 13:46 +, Joakim Tjernlund wrote: > > Ping .. > > On Tue, 2020-10-27 at 08:48 +, Joakim Tjernlund wrote: > > > > Yet a ping ... > > > > This is a simple technical patch, it just needs a policy decision. > > Can I have one ? > > > >    Jocke

[FFmpeg-devel] [PATCH] avformat/rtsp: support infinite initial_timeout for rtsp option

2020-11-03 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtsp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 49c2d52..4427bd2 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -2049,7 +2049,7 @@ static int udp_read

Re: [FFmpeg-devel] [FFmpeg-cvslog] avformat/rtsp: support for listen_timeout option for sdp

2020-11-03 Thread lance . lmwang
On Mon, Nov 02, 2020 at 11:57:47PM -0500, Andriy Gelman wrote: > On Thu, 22. Oct 14:21, Limin Wang wrote: > > ffmpeg | branch: master | Limin Wang | Sat Oct 10 > > 21:30:21 2020 +0800| [92c40ef882be115e72d2aa02f9032b7ce88f8537] | > > committer: Limin Wang > > > > avformat/rtsp: support for list