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

2022-03-12 Thread Thilo Borgmann
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 Borgmann wrote: Am 22.02.22 um 12:30 schrieb Thilo Borgmann: Am 18.02.22 um

Re: [FFmpeg-devel] [PATCH v2] avcodec/pngenc: support writing iCCP chunks

2022-03-12 Thread Niklas Haas
On Fri, 11 Mar 2022 12:18:13 +0100 Andreas Rheinhardt wrote: > 2. Using an AVBPrint with its dynamic reallocations is probably not good > here at all: It is easy to get a good upper bound via deflateBound() > which allows to omit the reallocations/the loop. (I should probably have > applied So,

[FFmpeg-devel] [PATCH v3] avcodec/pngenc: support writing iCCP chunks

2022-03-12 Thread Niklas Haas
From: Niklas Haas encode_zbuf is mostly a mirror image of decode_zbuf. Other than that, the code is pretty straightforward. Special care needs to be taken to avoid writing more than 79 characters of the profile description (the maximum supported). To write the (dynamically sized) deflate-encoded

Re: [FFmpeg-devel] [PATCH v2] avcodec: Add dv marker bsf

2022-03-12 Thread Dave Rice
> On Mar 10, 2022, at 4:41 AM, Tobias Rapp wrote: > > On 09/03/2022 19:18, Michael Niedermayer wrote: >> Signed-off-by: Michael Niedermayer >> --- >> doc/bitstream_filters.texi | 30 >> libavcodec/Makefile | 1 + >> libavcodec/bitstream_filters.c | 1 + >>

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

2022-03-12 Thread Michael Niedermayer
On Fri, Mar 11, 2022 at 02:45:17PM +0100, Mark Gaiser wrote: > On Wed, Mar 9, 2022 at 10:36 AM Michael Niedermayer > wrote: > > > On Wed, Mar 09, 2022 at 01:30:30AM +0100, Mark Gaiser wrote: > > > On Wed, Mar 9, 2022 at 12:45 AM Michael Niedermayer < > > mich...@niedermayer.cc> > > > wrote: > > >

Re: [FFmpeg-devel] [PATCH v2] avcodec: Add dv marker bsf

2022-03-12 Thread Michael Niedermayer
On Sat, Mar 12, 2022 at 10:11:52AM -0500, Dave Rice wrote: > > > > On Mar 10, 2022, at 4:41 AM, Tobias Rapp wrote: > > > > On 09/03/2022 19:18, Michael Niedermayer wrote: > >> Signed-off-by: Michael Niedermayer > >> --- > >> doc/bitstream_filters.texi | 30 > >> libavcodec/Mak

[FFmpeg-devel] [PATCH] avcodec: Add dv marker bsf

2022-03-12 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- doc/bitstream_filters.texi | 30 +++ libavcodec/Makefile | 1 + libavcodec/bitstream_filters.c | 1 + libavcodec/dv_error_marker_bsf.c | 139 +++ 4 files changed, 171 insertions(+) create mode 100644

Re: [FFmpeg-devel] [PATCH] movenc: Use LIBAVFORMAT_IDENT instead of LIBAVCODEC_IDENT

2022-03-12 Thread James Almer
On 3/11/2022 11:23 AM, Martin Storsjö wrote: The muxer seems to have had one seemingly accidental use of LIBAVCODEC_IDENT, while LIBAVFORMAT_IDENT probably is the relevant one (which is used multiple times in the same file). Signed-off-by: Martin Storsjö --- libavformat/movenc.c | 2 +- 1

Re: [FFmpeg-devel] [PATCH] movenc: Use LIBAVFORMAT_IDENT instead of LIBAVCODEC_IDENT

2022-03-12 Thread Martin Storsjö
On Sat, 12 Mar 2022, James Almer wrote: On 3/11/2022 11:23 AM, Martin Storsjö wrote: The muxer seems to have had one seemingly accidental use of LIBAVCODEC_IDENT, while LIBAVFORMAT_IDENT probably is the relevant one (which is used multiple times in the same file). Signed-off-by: Martin Stors

Re: [FFmpeg-devel] [PATCH v2 1/9] libavcodec: Split version.h

2022-03-12 Thread Martin Storsjö
On Fri, 11 Mar 2022, Martin Storsjö wrote: This avoids including version.h in all source files, avoiding unnecessary rebuilds when the version number is bumped. Only version_major.h is included by the main header, which defines availability of e.g. FF_API_* macros, and which is bumped much less

[FFmpeg-devel] [PATCH 3/4] avformat/mxfdec: Check for avio_read() failure in mxf_read_strong_ref_array()

2022-03-12 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavformat/mxfdec.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index d7cdd22c8a..828fc0f9f1 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -932,6 +932,7 @@ static i

[FFmpeg-devel] [PATCH 4/4] avformat/mxfdec: Do not clear array in mxf_read_strong_ref_array() before writing

2022-03-12 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavformat/mxfdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 828fc0f9f1..f088712494 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -941,7 +941,7 @@ static int mxf_

[FFmpeg-devel] [PATCH 2/4] avformat/mxfdec: Check count in mxf_read_strong_ref_array()

2022-03-12 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavformat/mxfdec.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index b85c10bf19..d7cdd22c8a 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -932,7 +932,13 @@ static

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

2022-03-12 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