Re: [FFmpeg-devel] [PATCH v2 3/3] libavcodec/qsvdec: using suggested num to set init_pool_size

2022-03-18 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Wenbin Chen > Sent: Friday, March 18, 2022 7:25 AM > To: ffmpeg-devel@ffmpeg.org > Subject: [FFmpeg-devel] [PATCH v2 3/3] libavcodec/qsvdec: using > suggested num to set init_pool_size > > The init_pool_size is set to be 64 and i

[FFmpeg-devel] [PATCH] Keep including the full version.h when headers are included externally

2022-03-18 Thread Martin Storsjö
This avoids unnecessary churn and build breakage for users, by making sure the whole version.h is included like it has been so far, while keeping the benefit of not needing to rebuild most files in the ffmpeg tree on minor/micro bumps. --- Surprisingly many downstream users do seem to rely on the v

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/dfpwmdec: Check packet size more completely

2022-03-18 Thread Paul B Mahol
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".

Re: [FFmpeg-devel] [PATCH] avcodec/setts_bsf: fix memleak

2022-03-18 Thread Paul B Mahol
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".

Re: [FFmpeg-devel] [PATCH 1/4] avfilter/x86/vf_blend: use unaligned movs for output

2022-03-18 Thread Paul B Mahol
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".

[FFmpeg-devel] [PATCH 8/8] avcodec/codec_internal: Include codec_tags only when they are needed

2022-03-18 Thread Andreas Rheinhardt
They are only needed for the fuzzer, so check for CONFIG_OSSFUZZ. This decreases sizeof(FFCodec), which is important given that FFCodecs reside in .data.rel.ro in case of ELF with position-independent code which is always loaded and can't be shared between processes. Signed-off-by: Andreas Rheinha

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/wmalosslessdec: Check channel mask against num channels

2022-03-18 Thread Michael Niedermayer
On Thu, Mar 17, 2022 at 10:00:18PM -0300, James Almer wrote: > > > On 3/17/2022 9:07 PM, James Almer wrote: > > > > > > On 3/17/2022 8:52 PM, James Almer wrote: > > > On 3/17/2022 8:30 PM, Michael Niedermayer wrote: > > > > Fixes: Out of array write > > > > Fixes: > > > > 45613/clusterfuzz-tes

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/dfpwmdec: Check packet size more completely

2022-03-18 Thread Michael Niedermayer
On Fri, Mar 18, 2022 at 09:31:27AM +0100, Paul B Mahol wrote: > lgtm will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB You can kill me, but you cannot change the truth. signature.asc Description: PGP signature

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/wmalosslessdec: Check channel mask against num channels

2022-03-18 Thread James Almer
On 3/18/2022 8:27 AM, Michael Niedermayer wrote: On Thu, Mar 17, 2022 at 10:00:18PM -0300, James Almer wrote: On 3/17/2022 9:07 PM, James Almer wrote: On 3/17/2022 8:52 PM, James Almer wrote: On 3/17/2022 8:30 PM, Michael Niedermayer wrote: Fixes: Out of array write Fixes: 45613/cluste

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/alsdec: Set channels from data after data is set

2022-03-18 Thread Michael Niedermayer
On Thu, Mar 17, 2022 at 08:40:48PM -0300, James Almer wrote: > On 3/17/2022 8:30 PM, Michael Niedermayer wrote: > > Fixes: out of array write > > Fixes: > > 45624/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ALS_fuzzer-6473487382872064 > > Fixes: > > 45626/clusterfuzz-testcase-minimized-ffmp

[FFmpeg-devel] [PATCH] avformat/hlsenc: add hls_time_delta to cut segment at before hls_time

2022-03-18 Thread Steven Liu
From: Steven Liu There have some video stream usually cannot get precise duration, for example: command: ffmpeg -i input.mp4 -c copy -copyts -f hls -hls_time 5 -hls_list_size 0 -hls_segment_type mpegts -t 20 a.m3u8 the first segment should split at 5.13, because 5.13 - 0.13 is 5.00

[FFmpeg-devel] [PATCH] avcodec/binkaudio: add support for >2 channels dct codec

2022-03-18 Thread Paul B Mahol
As presented in .binka files. Signed-off-by: Paul B Mahol --- libavcodec/binkaudio.c | 50 +++--- 1 file changed, 32 insertions(+), 18 deletions(-) diff --git a/libavcodec/binkaudio.c b/libavcodec/binkaudio.c index b4ff15beeb..54b7e22854 100644 --- a/libavcod

[FFmpeg-devel] [PATCH] lavf/mpegenc: fix memory leak in the fifo since the new API

2022-03-18 Thread Nicolas Gaullier
The older av_fifo_realloc2 implemented an auto grow that should be ported as such. This introduces a limitation in the buffer size. AUTO_GROW_DEFAULT_BYTES is currently 1MB which seems reasonable here. Fix regressing since ea511196a6c85eb433e10cdbecb0b2c722faf20d Signed-off-by: Nicolas Gaullier

Re: [FFmpeg-devel] [PATCH 8/8] avcodec/codec_internal: Include codec_tags only when they are needed

2022-03-18 Thread Michael Niedermayer
On Fri, Mar 18, 2022 at 11:52:54AM +0100, Andreas Rheinhardt wrote: > They are only needed for the fuzzer, so check for CONFIG_OSSFUZZ. > This decreases sizeof(FFCodec), which is important given that > FFCodecs reside in .data.rel.ro in case of ELF with > position-independent code which is always l

[FFmpeg-devel] [PATCH v2] lavf/mpegenc: fix memory leak in the fifo since the new API

2022-03-18 Thread Nicolas Gaullier
The older av_fifo_realloc2 implemented an auto grow that should be ported as such. This introduces a limitation in the buffer size. AUTO_GROW_DEFAULT_BYTES is currently 1MB which seems reasonable here. Fix regressing since ea511196a6c85eb433e10cdbecb0b2c722faf20d Signed-off-by: Nicolas Gaullier

Re: [FFmpeg-devel] [PATCH 8/8] avcodec/codec_internal: Include codec_tags only when they are needed

2022-03-18 Thread Michael Niedermayer
On Fri, Mar 18, 2022 at 02:13:16PM +0100, Michael Niedermayer wrote: > On Fri, Mar 18, 2022 at 11:52:54AM +0100, Andreas Rheinhardt wrote: > > They are only needed for the fuzzer, so check for CONFIG_OSSFUZZ. > > This decreases sizeof(FFCodec), which is important given that > > FFCodecs reside in .

Re: [FFmpeg-devel] [PATCH 8/8] avcodec/codec_internal: Include codec_tags only when they are needed

2022-03-18 Thread Andreas Rheinhardt
Michael Niedermayer: > On Fri, Mar 18, 2022 at 11:52:54AM +0100, Andreas Rheinhardt wrote: >> They are only needed for the fuzzer, so check for CONFIG_OSSFUZZ. >> This decreases sizeof(FFCodec), which is important given that >> FFCodecs reside in .data.rel.ro in case of ELF with >> position-indepen

[FFmpeg-devel] [PATCH] configure: Add missing cri->mjpegdec dependency

2022-03-18 Thread Andreas Rheinhardt
The CRI decoder is useless without the MJPEG-decoder (its init-function always errors out). Signed-off-by: Andreas Rheinhardt --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index f9b222dbf5..4744079347 100755 --- a/configure +++ b/configure @@ -2782,6 +27

Re: [FFmpeg-devel] [PATCH 8/8] avcodec/codec_internal: Include codec_tags only when they are needed

2022-03-18 Thread Andreas Rheinhardt
Michael Niedermayer: > On Fri, Mar 18, 2022 at 02:13:16PM +0100, Michael Niedermayer wrote: >> On Fri, Mar 18, 2022 at 11:52:54AM +0100, Andreas Rheinhardt wrote: >>> They are only needed for the fuzzer, so check for CONFIG_OSSFUZZ. >>> This decreases sizeof(FFCodec), which is important given that

Re: [FFmpeg-devel] [PATCH] configure: Add missing cri->mjpegdec dependency

2022-03-18 Thread Paul B Mahol
On 3/18/22, Andreas Rheinhardt wrote: > The CRI decoder is useless without the MJPEG-decoder > (its init-function always errors out). > > Signed-off-by: Andreas Rheinhardt > --- > configure | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configure b/configure > index f9b222dbf5..4744079

Re: [FFmpeg-devel] [PATCH] avfilter: Added siti filter

2022-03-18 Thread Thilo Borgmann
On 12 Mar 2022, at 10:06, Thilo Borgmann wrote: > Am 09.03.22 um 18:31 schrieb Paul B Mahol: >> On 3/8/22, Thilo Borgmann wrote: >>> Am 07.03.22 um 20:06 schrieb Paul B Mahol: On 3/7/22, Thilo Borgmann wrote: > Am 06.03.22 um 22:25 schrieb Paul B Mahol: >> On 3/6/22, Thilo Borgma

Re: [FFmpeg-devel] [PATCH] avfilter: Added siti filter

2022-03-18 Thread Paul B Mahol
On 3/18/22, Thilo Borgmann wrote: > > > On 12 Mar 2022, at 10:06, Thilo Borgmann wrote: > >> Am 09.03.22 um 18:31 schrieb Paul B Mahol: >>> On 3/8/22, Thilo Borgmann wrote: Am 07.03.22 um 20:06 schrieb Paul B Mahol: > On 3/7/22, Thilo Borgmann wrote: >> Am 06.03.22 um 22:25 schrieb

[FFmpeg-devel] [PATCH v9 0/1] Add IPFS protocol support.

2022-03-18 Thread Mark Gaiser
Hi, This patch series adds support for IPFS. V9: - dweb.link as fallback gateway. This is managed by Protocol Labs (like IPFS). - Change all errors to warnings as not having a gateway still gives you a working video playback. - Changed the console output to be more clear. V8: - Removed unnecess

[FFmpeg-devel] [PATCH v9 1/1] avformat: Add IPFS protocol support.

2022-03-18 Thread Mark Gaiser
This patch adds support for: - ffplay ipfs:// - ffplay ipns:// IPFS data can be played from so called "ipfs gateways". A gateway is essentially a webserver that gives access to the distributed IPFS network. This protocol support (ipfs and ipns) therefore translates ipfs:// and ipns:// to a http:/

Re: [FFmpeg-devel] [PATCH v9 1/1] avformat: Add IPFS protocol support.

2022-03-18 Thread Mark Gaiser
On Fri, Mar 18, 2022 at 3:50 PM Mark Gaiser wrote: > This patch adds support for: > - ffplay ipfs:// > - ffplay ipns:// > > IPFS data can be played from so called "ipfs gateways". > A gateway is essentially a webserver that gives access to the > distributed IPFS network. > > This protocol support

Re: [FFmpeg-devel] [PATCH] avcodec/binkaudio: add support for >2 channels dct codec

2022-03-18 Thread Andreas Rheinhardt
Paul B Mahol: > As presented in .binka files. > > Signed-off-by: Paul B Mahol > --- > libavcodec/binkaudio.c | 50 +++--- > 1 file changed, 32 insertions(+), 18 deletions(-) > > diff --git a/libavcodec/binkaudio.c b/libavcodec/binkaudio.c > index b4ff15beeb..

Re: [FFmpeg-devel] [PATCH] avcodec/binkaudio: add support for >2 channels dct codec

2022-03-18 Thread Paul B Mahol
On 3/18/22, Andreas Rheinhardt wrote: > Paul B Mahol: >> As presented in .binka files. >> >> Signed-off-by: Paul B Mahol >> --- >> libavcodec/binkaudio.c | 50 +++--- >> 1 file changed, 32 insertions(+), 18 deletions(-) >> >> diff --git a/libavcodec/binkaudio.

Re: [FFmpeg-devel] [PATCH v2] avcodec/mjpegenc: support writing ICC profiles

2022-03-18 Thread Andreas Rheinhardt
Niklas Haas: > From: Niklas Haas > > This is mostly straightforward. The major complication is that, as a > result of the 16-bit chunk size limitation, ICC profiles may need to be > split up into multiple chunks. > > We also need to make sure to allocate enough extra space in the packet > to fit

[FFmpeg-devel] [PATCH] avutil/hwcontext: don't assume device_uninit is reentrant

2022-03-18 Thread Zhao Zhili
device_uninit will be called by hwdevice_ctx_free. It's not a real issue now since all of the implementaions have reentrant uninit, but it was, e.g., f6d49a0. We can remove the restriction, and make the code more simple. --- libavutil/hwcontext.c | 8 +--- 1 file changed, 1 insertion(+), 7 del

Re: [FFmpeg-devel] [PATCH] avcodec/ass: Faster ff_ass_add_rect()

2022-03-18 Thread Michael Niedermayer
On Mon, Dec 20, 2021 at 07:45:37PM +0100, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavcodec/ass.c | 36 ++-- > libavcodec/ass.h | 7 +++ > 2 files changed, 37 insertions(+), 6 deletions(-) will apply as a bug fix depends on th

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/ccaption_dec: Use ff_ass_add_rect2()

2022-03-18 Thread Michael Niedermayer
On Mon, Dec 20, 2021 at 12:56:59AM +0100, Michael Niedermayer wrote: > Fixes: Timeout > Fixes: > 42258/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CCAPTION_fuzzer-5540144118104064 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Si

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/sonic: Use unsigned for predictor_k to avoid undefined behavior

2022-03-18 Thread Michael Niedermayer
On Tue, Feb 08, 2022 at 03:53:18PM +0100, Michael Niedermayer wrote: > Fixes: signed integer overflow: -1094995529 * 24 cannot be represented in > type 'int' > Fixes: > 44436/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SONIC_fuzzer-4874459459223552 > > Found-by: continuous fuzzing process

[FFmpeg-devel] [PATCH] avcodec/vp9_superframe_split_bsf: Check in size

2022-03-18 Thread Michael Niedermayer
Fixes: Out of array read Fixes: 45137/clusterfuzz-testcase-minimized-ffmpeg_BSF_VP9_SUPERFRAME_SPLIT_fuzzer-4984270639202304 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/vp9_superframe_spli

Re: [FFmpeg-devel] [PATCH] avformat/matroskadec: Check pre_ns

2022-03-18 Thread Michael Niedermayer
On Sun, Feb 13, 2022 at 03:40:04PM +0100, Michael Niedermayer wrote: > Fixes: division by 0 > Fixes: > 44615/clusterfuzz-testcase-minimized-ffmpeg_dem_WEBM_DASH_MANIFEST_fuzzer-6681108677263360 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffm

Re: [FFmpeg-devel] [PATCH] avcodec/vp9_superframe_split_bsf: Check in size

2022-03-18 Thread Andreas Rheinhardt
Michael Niedermayer: > Fixes: Out of array read > Fixes: > 45137/clusterfuzz-testcase-minimized-ffmpeg_BSF_VP9_SUPERFRAME_SPLIT_fuzzer-4984270639202304 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by: Michael Niedermayer

[FFmpeg-devel] [PATCH] avformat/pcmdec: add support to set channel layout

2022-03-18 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavformat/pcmdec.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/libavformat/pcmdec.c b/libavformat/pcmdec.c index c7da740541..775cda8cc7 100644 --- a/libavformat/pcmdec.c +++ b/libavformat/pcmdec.c @@ -22,6 +22,7 @@ #include

Re: [FFmpeg-devel] [PATCH] avformat/pcmdec: add support to set channel layout

2022-03-18 Thread James Almer
On 3/18/2022 3:24 PM, Paul B Mahol wrote: Signed-off-by: Paul B Mahol --- libavformat/pcmdec.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/libavformat/pcmdec.c b/libavformat/pcmdec.c index c7da740541..775cda8cc7 100644 --- a/libavformat/pcmdec.c +++ b/lib

Re: [FFmpeg-devel] [PATCH 6/6] avcodec/vc1: Introduce fast path for unescaping bitstream buffer

2022-03-18 Thread Andreas Rheinhardt
Ben Avison: > Populate with implementations suitable for 32-bit and 64-bit Arm. > > Signed-off-by: Ben Avison > --- > libavcodec/aarch64/vc1dsp_init_aarch64.c | 60 > libavcodec/aarch64/vc1dsp_neon.S | 176 +++ > libavcodec/arm/vc1dsp_init_neon.c| 6

Re: [FFmpeg-devel] [PATCH] Keep including the full version.h when headers are included externally

2022-03-18 Thread Martin Storsjö
On Fri, 18 Mar 2022, Martin Storsjö wrote: This avoids unnecessary churn and build breakage for users, by making sure the whole version.h is included like it has been so far, while keeping the benefit of not needing to rebuild most files in the ffmpeg tree on minor/micro bumps. --- Surprisingly

[FFmpeg-devel] [PATCH 1/3] avformat/slndec: add support to set channel layout

2022-03-18 Thread James Almer
Signed-off-by: James Almer --- libavformat/pcmdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/pcmdec.c b/libavformat/pcmdec.c index dcd13787d5..a2bcfc2814 100644 --- a/libavformat/pcmdec.c +++ b/libavformat/pcmdec.c @@ -170,7 +170,8 @@ PCMDEF(vidc, "PCM Ar

[FFmpeg-devel] [PATCH 2/3] avformat/dfpwmdec: add support to set channel layout

2022-03-18 Thread James Almer
Signed-off-by: James Almer --- libavformat/dfpwmdec.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/libavformat/dfpwmdec.c b/libavformat/dfpwmdec.c index 9f935a422a..3bd8bc0e41 100644 --- a/libavformat/dfpwmdec.c +++ b/libavformat/dfpwmdec.c @@ -32,6 +32,7 @@ t

[FFmpeg-devel] [PATCH 3/3] avformat/test/seek: set ch_layout instead of channels

2022-03-18 Thread James Almer
Signed-off-by: James Almer --- libavformat/tests/seek.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/tests/seek.c b/libavformat/tests/seek.c index e0067a64fc..94a72d9422 100644 --- a/libavformat/tests/seek.c +++ b/libavformat/tests/seek.c @@ -88,7 +88,7 @@ int m

Re: [FFmpeg-devel] [PATCH 1/3] avformat/slndec: add support to set channel layout

2022-03-18 Thread Andreas Rheinhardt
James Almer: > Signed-off-by: James Almer > --- > libavformat/pcmdec.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/libavformat/pcmdec.c b/libavformat/pcmdec.c > index dcd13787d5..a2bcfc2814 100644 > --- a/libavformat/pcmdec.c > +++ b/libavformat/pcmdec.c > @@ -170,

Re: [FFmpeg-devel] [PATCH 1/3] avformat/slndec: add support to set channel layout

2022-03-18 Thread James Almer
On 3/18/2022 7:41 PM, Andreas Rheinhardt wrote: James Almer: Signed-off-by: James Almer --- libavformat/pcmdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/pcmdec.c b/libavformat/pcmdec.c index dcd13787d5..a2bcfc2814 100644 --- a/libavformat/pcmdec.c ++

Re: [FFmpeg-devel] [PATCH 1/3] avformat/slndec: add support to set channel layout

2022-03-18 Thread Andreas Rheinhardt
James Almer: > On 3/18/2022 7:41 PM, Andreas Rheinhardt wrote: >> James Almer: >>> Signed-off-by: James Almer >>> --- >>>   libavformat/pcmdec.c | 3 ++- >>>   1 file changed, 2 insertions(+), 1 deletion(-) >>> >>> diff --git a/libavformat/pcmdec.c b/libavformat/pcmdec.c >>> index dcd13787d5..a2bcf

[FFmpeg-devel] [PATCH 4/4] ffmpeg: replace custom channel_layout code with an SpecifierOpt based one

2022-03-18 Thread James Almer
This is cleaner and allows fine tuning which stream the option is applied to. Signed-off-by: James Almer --- fftools/ffmpeg.h | 2 ++ fftools/ffmpeg_opt.c | 84 ++-- 2 files changed, 36 insertions(+), 50 deletions(-) diff --git a/fftools/ffmpeg.h b/f

[FFmpeg-devel] [PATCH 1/4 v2] avformat/pcmdec: Add support for channel layouts for sln

2022-03-18 Thread James Almer
Signed-off-by: James Almer --- libavformat/pcmdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/pcmdec.c b/libavformat/pcmdec.c index dcd13787d5..a2bcfc2814 100644 --- a/libavformat/pcmdec.c +++ b/libavformat/pcmdec.c @@ -170,7 +170,8 @@ PCMDEF(vidc, "PCM Ar

[FFmpeg-devel] [PATCH] avcodec/g723_1_parser: keep avctx channels internally if value is > 0

2022-03-18 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/g723_1_parser.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libavcodec/g723_1_parser.c b/libavcodec/g723_1_parser.c index 2ed1a8ab19..03c165ce55 100644 --- a/libavcodec/g723_1_parser.c +++ b/libavcodec/g723_1_parser.c @@ -26,

Re: [FFmpeg-devel] [PATCH] avcodec/g723_1_parser: keep avctx channels internally if value is > 0

2022-03-18 Thread James Almer
On 3/18/2022 10:03 PM, Paul B Mahol wrote: Signed-off-by: Paul B Mahol --- libavcodec/g723_1_parser.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libavcodec/g723_1_parser.c b/libavcodec/g723_1_parser.c index 2ed1a8ab19..03c165ce55 100644 --- a/libavcodec/g723_1_pa

Re: [FFmpeg-devel] [PATCH] avcodec/g723_1_parser: keep avctx channels internally if value is > 0

2022-03-18 Thread James Almer
On 3/18/2022 10:07 PM, James Almer wrote: On 3/18/2022 10:03 PM, Paul B Mahol wrote: Signed-off-by: Paul B Mahol ---   libavcodec/g723_1_parser.c | 6 +-   1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libavcodec/g723_1_parser.c b/libavcodec/g723_1_parser.c index 2ed1a8ab19.

[FFmpeg-devel] [PATCH] avcodec/avcodec: don't uninitialize ch_layout in avcodec_close()

2022-03-18 Thread James Almer
The function is not meant to clear codec parameters, and the lavf demux code relies on this behavior. Regression since 327efa66331ebdc0087c6b656059a8df2f404019. Signed-off-by: James Almer --- libavcodec/avcodec.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavcodec/avcodec.c b/li