Re: [FFmpeg-devel] [PATCH] libavcodec/avpacket: add av_packet_remove_side_data

2021-10-11 Thread zhilizhao(赵志立)
> On Oct 12, 2021, at 2:20 AM, Marton Balint wrote: > > On Mon, 11 Oct 2021, Zhao Zhili wrote: > >> --- >> doc/APIchanges | 3 +++ >> libavcodec/avpacket.c | 15 +++ >> libavcodec/packet.h | 5 + >> libavcodec/tests/avpacket.c | 9 + >> libavco

Re: [FFmpeg-devel] [PATCH 1/1] mov: read track title

2021-10-11 Thread Đông Nguyễn
> On Tue, Oct 12, 2021 at 3:54 AM Jan Ekström wrote: > Huh, so I seem to have incorrectly read things previously :) .I > started implementing reading of the 3GPP titl box due to the QTFF spec > saying that `name` is not supposed to be an end user facing name, but > an internal/debug reference [1]

[FFmpeg-devel] [PATCH] avfilter: add varblur video filter

2021-10-11 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 15 ++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_varblur.c | 362 +++ 4 files changed, 379 insertions(+) create mode 100644 libavfilter/vf_varblur.c diff --gi

Re: [FFmpeg-devel] [PATCH 1/1] mov: read track title

2021-10-11 Thread Jan Ekström
On Mon, Oct 11, 2021 at 6:23 AM Dong Nguyen wrote: > > this change fix issue [9438](https://trac.ffmpeg.org/ticket/9438) > > after commit da9cc22d5bd5f59756c2037b02966376da2cf323 > ffmpeg is able to write track title metadata to mov/mp4 format file > but it is not able to read back the metadata >

Re: [FFmpeg-devel] [PATCH] avformat/avio{, buf}: introduce public AVIOContext::bytes_read

2021-10-11 Thread Jan Ekström
On Mon, Oct 4, 2021 at 12:12 PM Jan Ekström wrote: > > On Mon, Oct 4, 2021 at 1:06 AM Michael Niedermayer > wrote: > > > > On Mon, Oct 04, 2021 at 12:25:26AM +0300, Jan Ekström wrote: > > > On Sat, Oct 2, 2021 at 2:51 PM Michael Niedermayer > > > wrote: > > > > > > > > On Sat, Oct 02, 2021 at 02

Re: [FFmpeg-devel] [PATCH] libavcodec/avpacket: add av_packet_remove_side_data

2021-10-11 Thread Marton Balint
On Mon, 11 Oct 2021, Zhao Zhili wrote: --- doc/APIchanges | 3 +++ libavcodec/avpacket.c | 15 +++ libavcodec/packet.h | 5 + libavcodec/tests/avpacket.c | 9 + libavcodec/version.h| 2 +- 5 files changed, 33 insertions(+), 1 deletion(

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/utils: Ensure 8x8 alignment for ARGO in avcodec_align_dimensions2()

2021-10-11 Thread Michael Niedermayer
On Sun, Oct 10, 2021 at 11:39:53PM +0200, Michael Niedermayer wrote: > Fixes: out of array access > Fixes: > 39736/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ARGO_fuzzer-4820016722214912 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffm

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/gemdec: Use ff_set_dimensions()

2021-10-11 Thread Michael Niedermayer
On Mon, Oct 11, 2021 at 08:18:25PM +1100, Peter Ross wrote: > On Sun, Oct 10, 2021 at 11:39:54PM +0200, Michael Niedermayer wrote: > > Fixes: OOM > > Fixes: > > 39798/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_GEM_fuzzer-5611636853964800 > > > > Found-by: continuous fuzzing process > > ht

Re: [FFmpeg-devel] [PATCH 1/1] avutil/frame: Document the possibility of negative line sizes

2021-10-11 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] avformat/mxf: support MCA audio information

2021-10-11 Thread Marc-Antoine Arnaud
--- libavformat/mxf.h| 1 + libavformat/mxfdec.c | 276 ++- 2 files changed, 271 insertions(+), 6 deletions(-) diff --git a/libavformat/mxf.h b/libavformat/mxf.h index fe9c52732c..cddbcb13c9 100644 --- a/libavformat/mxf.h +++ b/libavformat/mxf.h @@ -5

[FFmpeg-devel] [PATCH v2 4/4] avformat/rtpdec_rfc4175: add support for RANGE

2021-10-11 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtpdec_rfc4175.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavformat/rtpdec_rfc4175.c b/libavformat/rtpdec_rfc4175.c index 93607d7..f50cad7 100644 --- a/libavformat/rtpdec_rfc4175.c +++ b/libavformat/rtpdec_rfc4175.c @@

[FFmpeg-devel] [PATCH v2 3/4] avformat/rtpdec_rfc4175: add support for colorimetry

2021-10-11 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtpdec_rfc4175.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/libavformat/rtpdec_rfc4175.c b/libavformat/rtpdec_rfc4175.c index d45530e..93607d7 100644 --- a/libavformat/rtpdec_rfc4175.c +++ b/libavformat/rtpdec_rfc4

[FFmpeg-devel] [PATCH v2 2/4] avformat/rtpdec_rfc4175: add support for TCS

2021-10-11 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtpdec_rfc4175.c | 13 + 1 file changed, 13 insertions(+) diff --git a/libavformat/rtpdec_rfc4175.c b/libavformat/rtpdec_rfc4175.c index 060f725..d45530e 100644 --- a/libavformat/rtpdec_rfc4175.c +++ b/libavformat/rtpdec_rf

[FFmpeg-devel] [PATCH v2 1/4] avformat/rtpdec_rfc4175: add support for exactframerate

2021-10-11 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/rtpdec_rfc4175.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/libavformat/rtpdec_rfc4175.c b/libavformat/rtpdec_rfc4175.c index 712c683..060f725 100644 --- a/libavformat/rtpdec_rfc4175.c +++ b/libavformat/rtpdec_rfc4

Re: [FFmpeg-devel] [PATCH 02/10] avcodec/binkaudio: Properly flush the decoder

2021-10-11 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 10/10] avcodec/mjpegdec: Use AVCodecInternal.in_pkt for buffer packet

2021-10-11 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/mjpegdec.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index 7f89641660..8b154ce0ab 100644 --- a/libavcodec/mjpegdec.c +++ b/libavcodec/mjpegdec.c @@ -127,9 +127,7 @@ av_col

[FFmpeg-devel] [PATCH 09/10] avcodec/libdav1d: Use av_memdup() where appropriate

2021-10-11 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/libdav1d.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/libdav1d.c b/libavcodec/libdav1d.c index 507aaa1a96..bbc81a9dc9 100644 --- a/libavcodec/libdav1d.c +++ b/libavcodec/libdav1d.c @@ -319,13 +319,13 @@ stati

[FFmpeg-devel] [PATCH 08/10] avcodec/libdav1d: Use AVCodecInternal.in_pkt instead of stack packet

2021-10-11 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/libdav1d.c | 28 +--- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/libavcodec/libdav1d.c b/libavcodec/libdav1d.c index 2d5fccec71..507aaa1a96 100644 --- a/libavcodec/libdav1d.c +++ b/libavcodec/libdav1d.c

[FFmpeg-devel] [PATCH 07/10] avcodec/libdav1d: Don't leak side-data-only packets

2021-10-11 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/libdav1d.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/libdav1d.c b/libavcodec/libdav1d.c index 2807210e50..2d5fccec71 100644 --- a/libavcodec/libdav1d.c +++ b/libavcodec/libdav1d.c @@ -328,6 +328,9 @@ static int libdav1d_rece

[FFmpeg-devel] [PATCH 04/10] avcodec/binkaudio: Use AVCodecInternal.in_pkt for buffer packet

2021-10-11 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/binkaudio.c | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/libavcodec/binkaudio.c b/libavcodec/binkaudio.c index 59ecab25c6..f808141ba5 100644 --- a/libavcodec/binkaudio.c +++ b/libavcodec/binkaudio.c @@ -140,9 +140,7

[FFmpeg-devel] [PATCH 06/10] avcodec/cuviddec: Use AVCodecInternal.in_pkt instead of stack packet

2021-10-11 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/cuviddec.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/libavcodec/cuviddec.c b/libavcodec/cuviddec.c index e15c51..f03bbd8c4b 100644 --- a/libavcodec/cuviddec.c +++ b/libavcodec/cuviddec.c @@ -53,6 +53,10 @

[FFmpeg-devel] [PATCH 03/10] avcodec/internal: Allow receive_frame codecs to use decode_simple pkt

2021-10-11 Thread Andreas Rheinhardt
Decoders implementing the receive_frame API currently mostly use stack packets to temporarily hold the packet they receive from ff_decode_get_packet(). This role directly parallels the role of in_pkt, the spare packet used in decode_simple_internal for the decoders implementing the traditional deco

[FFmpeg-devel] [PATCH 05/10] avcodec/crystalhd: Use AVCodecInternal.in_pkt instead of stack packet

2021-10-11 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/crystalhd.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/libavcodec/crystalhd.c b/libavcodec/crystalhd.c index 0238ab7378..9202a16a77 100644 --- a/libavcodec/crystalhd.c +++ b/libavcodec/crystalhd.c @@ -90,6 +9

[FFmpeg-devel] [PATCH 02/10] avcodec/binkaudio: Properly flush the decoder

2021-10-11 Thread Andreas Rheinhardt
The packets delivered to this decoder are often decoded to more than one frame and if the internal buffer packet is not unreferenced, the decoder will still output frames derived from the old packet (from before the flush). Signed-off-by: Andreas Rheinhardt --- libavcodec/binkaudio.c | 10 ++

[FFmpeg-devel] [PATCH 01/10] avcodec/binkaudio: Remove AV_CODEC_CAP_DELAY

2021-10-11 Thread Andreas Rheinhardt
This decoder may output multiple AVFrames for every AVPacket passed to it, but after it has returned AVERROR(EAGAIN), it is completely drained and there is no reason to flush it at the end with a NULL packet. Furthermore, there is also no delay in the common sense of the word. Signed-off-by: Andre

Re: [FFmpeg-devel] [PATCH 6/8] avformat/rtpdec_rfc4175: add support for TCS

2021-10-11 Thread lance . lmwang
On Mon, Oct 11, 2021 at 05:01:54PM +0200, Andreas Rheinhardt wrote: > lance.lmw...@gmail.com: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavformat/rtpdec_rfc4175.c | 19 +++ > > 1 file changed, 19 insertions(+) > > > > diff --git a/libavformat/rtpdec_r

Re: [FFmpeg-devel] [PATCH 5/8] avformat/rtpdec_rfc4175: add support for exactframerate

2021-10-11 Thread lance . lmwang
On Mon, Oct 11, 2021 at 05:00:29PM +0200, Andreas Rheinhardt wrote: > lance.lmw...@gmail.com: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavformat/rtpdec_rfc4175.c | 14 ++ > > 1 file changed, 14 insertions(+) > > > > diff --git a/libavformat/rtpdec_rfc417

Re: [FFmpeg-devel] [PATCH 1/2] avformat/argo_asf: pass name through as metadata

2021-10-11 Thread James Almer
On 10/11/2021 8:25 AM, Zane van Iperen wrote: Signed-off-by: Zane van Iperen --- libavformat/argo_asf.c | 5 + libavformat/argo_asf.h | 3 ++- tests/ref/acodec/adpcm-argo | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libavformat/argo_asf.c b/libavforma

Re: [FFmpeg-devel] [PATCH 6/8] avformat/rtpdec_rfc4175: add support for TCS

2021-10-11 Thread Andreas Rheinhardt
lance.lmw...@gmail.com: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavformat/rtpdec_rfc4175.c | 19 +++ > 1 file changed, 19 insertions(+) > > diff --git a/libavformat/rtpdec_rfc4175.c b/libavformat/rtpdec_rfc4175.c > index 367567d..db6b9b8 100644 > --- a/libavf

Re: [FFmpeg-devel] [PATCH 5/8] avformat/rtpdec_rfc4175: add support for exactframerate

2021-10-11 Thread Andreas Rheinhardt
lance.lmw...@gmail.com: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavformat/rtpdec_rfc4175.c | 14 ++ > 1 file changed, 14 insertions(+) > > diff --git a/libavformat/rtpdec_rfc4175.c b/libavformat/rtpdec_rfc4175.c > index 46d30ed..367567d 100644 > --- a/libavformat

Re: [FFmpeg-devel] [PATCH 8/8] avformat/rtpdec_rfc4175: add support for RANGE

2021-10-11 Thread lance . lmwang
On Wed, Oct 06, 2021 at 06:14:11PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavformat/rtpdec_rfc4175.c | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/libavformat/rtpdec_rfc4175.c b/libavformat/rtpdec_rfc4175.c > inde

[FFmpeg-devel] [PATCH 8/8] avcodec/hevc_filter: Correct indention

2021-10-11 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/hevc_filter.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/libavcodec/hevc_filter.c b/libavcodec/hevc_filter.c index 7e9478c..3c45b5a 100644 --- a/libavcodec/hevc_filter.c +++ b/libavcode

[FFmpeg-devel] [PATCH 7/8] avcodec/hevc_filter: remove unneeded headers

2021-10-11 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/hevc_filter.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/hevc_filter.c b/libavcodec/hevc_filter.c index 6b98240..7e9478c 100644 --- a/libavcodec/hevc_filter.c +++ b/libavcodec/hevc_filter.c @@ -25,11 +25,8 @@ #incl

[FFmpeg-devel] [PATCH 6/8] avcodec/hevcdec: remove unused code

2021-10-11 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/hevcdec.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/hevcdec.h b/libavcodec/hevcdec.h index 482638a..2855342 100644 --- a/libavcodec/hevcdec.h +++ b/libavcodec/hevcdec.h @@ -45,9 +45,6 @@ #define SHIFT_CTB_WPP 2

[FFmpeg-devel] [PATCH 5/8] avformat/mpegtsenc: add AVSV format_identifier for AVS standard

2021-10-11 Thread lance . lmwang
From: Limin Wang Listing of Registered Identifiers: https://smpte-ra.org/registered-mpeg-ts-ids Signed-off-by: Limin Wang --- libavformat/mpegtsenc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index 26fb1f1..184bb52 100644 --- a/lib

[FFmpeg-devel] [PATCH 4/8] avformat/mpegts: add support for stream_type 0xd4, which is AVS3

2021-10-11 Thread lance . lmwang
From: Limin Wang GB/T 17975.1 Information technology-Generic coding of moving pictures and associated audio information-Part 1:Systems Signed-off-by: Limin Wang --- libavformat/mpegts.c| 1 + libavformat/mpegts.h| 1 + libavformat/mpegtsenc.c | 3 +++ 3 files changed, 5 insertions(+)

[FFmpeg-devel] [PATCH 3/8] avformat/mpegts: add support for stream_type 0xd2, which is AVS2

2021-10-11 Thread lance . lmwang
From: Limin Wang GB/T 17975.1 Information technology-Generic coding of moving pictures and associated audio information-Part 1:Systems Signed-off-by: Limin Wang --- libavformat/mpegts.h| 1 + libavformat/mpegtsenc.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/libavformat/mpegts

[FFmpeg-devel] [PATCH 2/8] avcodec/extract_extradata_bsf: add support for AVS3

2021-10-11 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavcodec/extract_extradata_bsf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/extract_extradata_bsf.c b/libavcodec/extract_extradata_bsf.c index 32c732f..dbcb850 100644 --- a/libavcodec/extract_extradata_bsf.c +++ b/libavcode

[FFmpeg-devel] [PATCH 1/8] avformat: add raw avs3 muxer

2021-10-11 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/rawenc.c | 14 ++ 3 files changed, 16 insertions(+) diff --git a/libavformat/Makefile b/libavformat/Makefile index c45caa3..66ebea5 100644 --- a/libavfor

[FFmpeg-devel] [PATCH 2/2] avformat/argo_asf: use title metadata when muxing

2021-10-11 Thread Zane van Iperen
Signed-off-by: Zane van Iperen --- libavformat/argo_asf.c | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/libavformat/argo_asf.c b/libavformat/argo_asf.c index f729a393ad..1171d9b7a7 100644 --- a/libavformat/argo_asf.c +++ b/libavformat/argo_asf.c @@ -361,18

[FFmpeg-devel] [PATCH 1/2] avformat/argo_asf: pass name through as metadata

2021-10-11 Thread Zane van Iperen
Signed-off-by: Zane van Iperen --- libavformat/argo_asf.c | 5 + libavformat/argo_asf.h | 3 ++- tests/ref/acodec/adpcm-argo | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/libavformat/argo_asf.c b/libavformat/argo_asf.c index 7e759c7c0c..f729a393ad 100644 ---

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/gemdec: Use ff_set_dimensions()

2021-10-11 Thread Peter Ross
On Sun, Oct 10, 2021 at 11:39:54PM +0200, Michael Niedermayer wrote: > Fixes: OOM > Fixes: > 39798/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_GEM_fuzzer-5611636853964800 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-

Re: [FFmpeg-devel] [PATCH] avfilter/vf_lut3d: fix building with --disable-optimizations

2021-10-11 Thread Xiang, Haihao
On Sun, 2021-10-10 at 23:10 -0700, mindm...@gmail.com wrote: > From: Mark Reid > > --- > libavfilter/x86/vf_lut3d_init.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/libavfilter/x86/vf_lut3d_init.c b/libavfilter/x86/vf_lut3d_init.c > index 3b3dd18680..db1a152f51 100644 > --- a/l

Re: [FFmpeg-devel] [PATCH] libavcodec/speexdec: fix memleak in error path

2021-10-11 Thread Andreas Rheinhardt
Zhao Zhili: > --- > libavcodec/speexdec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/speexdec.c b/libavcodec/speexdec.c > index 35270e6723..fccceab74c 100644 > --- a/libavcodec/speexdec.c > +++ b/libavcodec/speexdec.c > @@ -1586,5 +1586,5 @@ const AVCodec

[FFmpeg-devel] [PATCH] libavcodec/avpacket: add av_packet_remove_side_data

2021-10-11 Thread Zhao Zhili
--- doc/APIchanges | 3 +++ libavcodec/avpacket.c | 15 +++ libavcodec/packet.h | 5 + libavcodec/tests/avpacket.c | 9 + libavcodec/version.h| 2 +- 5 files changed, 33 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/A

[FFmpeg-devel] [PATCH] libavcodec/speexdec: fix memleak in error path

2021-10-11 Thread Zhao Zhili
--- libavcodec/speexdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/speexdec.c b/libavcodec/speexdec.c index 35270e6723..fccceab74c 100644 --- a/libavcodec/speexdec.c +++ b/libavcodec/speexdec.c @@ -1586,5 +1586,5 @@ const AVCodec ff_speex_decoder = { .clo