Re: [FFmpeg-devel] [Internet][PATCH 1/3] avcodec/videotoolboxenc: use color parameters conversion from avutil

2023-07-22 Thread zhilizhao(赵志立)
> On Jul 16, 2023, at 17:13, Zhao Zhili wrote: > > From: Zhao Zhili > > --- > libavcodec/videotoolboxenc.c | 137 --- > 1 file changed, 13 insertions(+), 124 deletions(-) > Patchset applied. ___ ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/wavarc: Fix k limit

2023-07-22 Thread Michael Niedermayer
On Tue, Apr 25, 2023 at 08:38:13PM +0200, Michael Niedermayer wrote: > The implementation does not support k=32 > > Fixes: shift exponent 32 is too large for 32-bit type 'unsigned int' > Fixes: > 57976/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WAVARC_fuzzer-5911925807775744 > >

[FFmpeg-devel] [PATCH 2/2] tools/target_dec_fuzzer: Adjust threshold for jpeg2000

2023-07-22 Thread Michael Niedermayer
Fixes: Timeout Fixes: 57385/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-5394334324490240 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- tools/target_dec_fuzzer.c | 2 +- 1 file

[FFmpeg-devel] [PATCH 1/2] avformat/avr: Check sample rate

2023-07-22 Thread Michael Niedermayer
Fixes: 54979/clusterfuzz-testcase-minimized-ffmpeg_dem_AVR_fuzzer-6681035461230592 Fixes: Timeout Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/avr.c | 3 +++ 1 file changed, 3

Re: [FFmpeg-devel] [PATCH 01/13] avcodec/avcodec: add side data to AVCodecContext

2023-07-22 Thread James Almer
On 7/20/2023 5:34 PM, James Almer wrote: Signed-off-by: James Almer --- libavcodec/avcodec.c | 2 ++ libavcodec/avcodec.h | 8 + libavcodec/avpacket.c | 84 +++ libavcodec/packet.h | 54 4 files changed, 148

Re: [FFmpeg-devel] [PATCH 5/6] fftools: avradio support

2023-07-22 Thread Lynne
Jul 22, 2023, 21:30 by mich...@niedermayer.cc: > This avoids keeping diffs to fftools in the libavradio repository > --- > fftools/ffmpeg.c | 7 + > fftools/ffplay.c | 6 > fftools/ffprobe.c| 6 > fftools/opt_common.c | 66

Re: [FFmpeg-devel] [PATCH 3/6] avformat: add support for demuxers/inputs from avradio

2023-07-22 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] [PATCH 2/6] avutil/log: Add AV_CLASS_CATEGORY_RADIO_INPUT

2023-07-22 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".

[FFmpeg-devel] [PATCH 6/6] tools/uncoded_frame: avradio support

2023-07-22 Thread Michael Niedermayer
This avoids keeping diffs to tools in the libavradio repository Signed-off-by: Michael Niedermayer --- tools/uncoded_frame.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/tools/uncoded_frame.c b/tools/uncoded_frame.c index edea2367c4..f856b02c77 100644 --- a/tools/uncoded_frame.c

[FFmpeg-devel] [PATCH 5/6] fftools: avradio support

2023-07-22 Thread Michael Niedermayer
This avoids keeping diffs to fftools in the libavradio repository --- fftools/ffmpeg.c | 7 + fftools/ffplay.c | 6 fftools/ffprobe.c| 6 fftools/opt_common.c | 66 fftools/opt_common.h | 27 ++ 5 files

[FFmpeg-devel] [PATCH 4/6] avdevice/utils: add test for AV_CLASS_CATEGORY_RADIO_INPUT

2023-07-22 Thread Michael Niedermayer
This avoids keeping diffs for libavdevice in the libavradio repository Signed-off-by: Michael Niedermayer --- libavdevice/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavdevice/utils.c b/libavdevice/utils.c index d9a52c53ab..faa24fa74d 100644 ---

[FFmpeg-devel] [PATCH 3/6] avformat: add support for demuxers/inputs from avradio

2023-07-22 Thread Michael Niedermayer
This avoids keeping diffs for libavformat in the libavradio repository Signed-off-by: Michael Niedermayer --- libavformat/allformats.c | 32 +--- libavformat/internal.h | 1 + 2 files changed, 26 insertions(+), 7 deletions(-) diff --git a/libavformat/allformats.c

[FFmpeg-devel] [PATCH 2/6] avutil/log: Add AV_CLASS_CATEGORY_RADIO_INPUT

2023-07-22 Thread Michael Niedermayer
This avoids keeping a diff for libavutil in the libavradio repository Signed-off-by: Michael Niedermayer --- libavutil/log.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libavutil/log.h b/libavutil/log.h index ab7ceabe22..245ad24988 100644 --- a/libavutil/log.h +++ b/libavutil/log.h @@

[FFmpeg-devel] [PATCH 1/6] configure: libavradio support

2023-07-22 Thread Michael Niedermayer
Autodetected based on existence of libavradio/version.h Signed-off-by: Michael Niedermayer --- Makefile | 5 +++-- configure | 46 +++--- 2 files changed, 46 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index bf1b69f96b..d5689231c3

Re: [FFmpeg-devel] [PATCH v2 1/1] avfilter/buffersink: Add video frame allocation callback

2023-07-22 Thread Marvin Scholz
On 22 Jul 2023, at 21:10, John Cox wrote: > On Sat, 22 Jul 2023 20:54:04 +0200, you wrote: > >> On 22 Jul 2023, at 18:41, John Cox wrote: >> >>> Add a callback to enable user allocation of video frames on the final >>> stage of a filter chain. >>> >>> Signed-off-by: John Cox >>> --- >>>

Re: [FFmpeg-devel] [PATCH v3 1/1] avfilter/buffersink: Add video frame allocation callback

2023-07-22 Thread Andreas Rheinhardt
John Cox: > Add a callback to enable user allocation of video frames on the final > stage of a filter chain. > > Signed-off-by: John Cox > --- > libavfilter/buffersink.c | 21 + > libavfilter/buffersink.h | 27 +++ > libavfilter/version.h| 2 +- >

[FFmpeg-devel] [PATCH 5/5] fftools/ffmpeg_opt: Reduce scope of variables for deprecated code

2023-07-22 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- fftools/ffmpeg_opt.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c index 1860e9d329..dc6044120a 100644 --- a/fftools/ffmpeg_opt.c +++ b/fftools/ffmpeg_opt.c @@ -372,9 +372,6 @@

[FFmpeg-devel] [PATCH 4/5] fftools/ffmpeg_opt: Fix leak on error

2023-07-22 Thread Andreas Rheinhardt
Fixes Coverity id #1539096. Signed-off-by: Andreas Rheinhardt --- fftools/ffmpeg_opt.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c index f7606ae6f6..1860e9d329 100644 --- a/fftools/ffmpeg_opt.c +++

Re: [FFmpeg-devel] [PATCH v2 1/1] avfilter/buffersink: Add video frame allocation callback

2023-07-22 Thread John Cox
On Sat, 22 Jul 2023 20:54:04 +0200, you wrote: >On 22 Jul 2023, at 18:41, John Cox wrote: > >> Add a callback to enable user allocation of video frames on the final >> stage of a filter chain. >> >> Signed-off-by: John Cox >> --- >> libavfilter/buffersink.c | 21 + >>

[FFmpeg-devel] [PATCH 3/5] fftools/opt_common: Fix leak on error

2023-07-22 Thread Andreas Rheinhardt
Fixes Coverity issue #743443. Signed-off-by: Andreas Rheinhardt --- fftools/opt_common.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fftools/opt_common.c b/fftools/opt_common.c index 913932c914..7c996f140d 100644 --- a/fftools/opt_common.c +++ b/fftools/opt_common.c @@ -1165,6 +1165,7

[FFmpeg-devel] [PATCH 2/5] fftools/ffmpeg_opt: Fix leak on error

2023-07-22 Thread Andreas Rheinhardt
Fixes Coverity issue #1539097. Signed-off-by: Andreas Rheinhardt --- fftools/ffmpeg_opt.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c index 700db706a1..f7606ae6f6 100644 --- a/fftools/ffmpeg_opt.c +++

[FFmpeg-devel] [PATCH 1/5] fftools/ffmpeg_mux_init: Fix leak on error

2023-07-22 Thread Andreas Rheinhardt
Fixes Coverity issue #1539098. Signed-off-by: Andreas Rheinhardt --- fftools/ffmpeg_mux_init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftools/ffmpeg_mux_init.c b/fftools/ffmpeg_mux_init.c index 86521417ec..0289cdabad 100644 --- a/fftools/ffmpeg_mux_init.c +++

Re: [FFmpeg-devel] [PATCH v2 1/1] avfilter/buffersink: Add video frame allocation callback

2023-07-22 Thread Marvin Scholz
On 22 Jul 2023, at 18:41, John Cox wrote: > Add a callback to enable user allocation of video frames on the final > stage of a filter chain. > > Signed-off-by: John Cox > --- > libavfilter/buffersink.c | 21 + > libavfilter/buffersink.h | 27 +++ >

[FFmpeg-devel] [PATCH] avcodec: fix misleading indentation warnings after ticks_per_frame deprecation

2023-07-22 Thread Marton Balint
Signed-off-by: Marton Balint --- libavcodec/libaomenc.c | 3 ++- libavcodec/libvpxenc.c | 3 ++- libavcodec/msmpeg4enc.c | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/libavcodec/libaomenc.c b/libavcodec/libaomenc.c index 16747e7e92..f29cb0784a 100644 ---

[FFmpeg-devel] [PATCH v3 1/1] avfilter/buffersink: Add video frame allocation callback

2023-07-22 Thread John Cox
Add a callback to enable user allocation of video frames on the final stage of a filter chain. Signed-off-by: John Cox --- libavfilter/buffersink.c | 21 + libavfilter/buffersink.h | 27 +++ libavfilter/version.h| 2 +- 3 files changed, 49

[FFmpeg-devel] [PATCH v3 0/1] avfilter/buffersink: Add user video frame allocation

2023-07-22 Thread John Cox
This patch adds the ability for the user to allocate frames rather than being forced to use avfilters default allocator. This useful for applications like Kodi that wish to be able to control how the final filter stage frame is allocated so that it is compatible with whatever it wishes to do next

Re: [FFmpeg-devel] [PATCH v2 1/1] avfilter/buffersink: Add video frame allocation callback

2023-07-22 Thread Nicolas George
John Cox (12023-07-22): > Finger trouble - repost of previous patch - please ignore No problem, I was about to make the remark. But please do not Cc people who have not asked for it. Especially when the mail says "Reply-To: ffmpeg-devel@ffmpeg.org". Regards, -- Nicolas George signature.asc

Re: [FFmpeg-devel] [PATCH v2 1/1] avfilter/buffersink: Add video frame allocation callback

2023-07-22 Thread John Cox
Finger trouble - repost of previous patch - please ignore Sorry JC >Add a callback to enable user allocation of video frames on the final >stage of a filter chain. > >Signed-off-by: John Cox >--- > libavfilter/buffersink.c | 21 + > libavfilter/buffersink.h | 27

[FFmpeg-devel] [PATCH v2 1/1] avfilter/buffersink: Add video frame allocation callback

2023-07-22 Thread John Cox
Add a callback to enable user allocation of video frames on the final stage of a filter chain. Signed-off-by: John Cox --- libavfilter/buffersink.c | 21 + libavfilter/buffersink.h | 27 +++ libavfilter/version.h| 2 +- 3 files changed, 49

[FFmpeg-devel] [PATCH v2 0/1] avfilter/buffersink: Add user video frame allocation

2023-07-22 Thread John Cox
This patch adds the ability for the user to allocate frames rather than being forced to use avfilters default allocator. This useful for applications like Kodi that wish to be able to control how the final filter stage frame is allocated so that it is compatible with whatever it wishes to do next

Re: [FFmpeg-devel] [PATCH 1/1] avfilter/buffersink: Add video frame allocation callback

2023-07-22 Thread Paul B Mahol
On Sat, Jul 22, 2023 at 5:25 PM Nicolas George wrote: > Paul B Mahol (12023-07-22): > > What about an audio? > > Are we in the business of refusing a patch adding an interesting feature > because we want two interesting features instead? > Double standards, not unexpected from you. > > > This

Re: [FFmpeg-devel] [PATCH 1/1] avfilter/buffersink: Add video frame allocation callback

2023-07-22 Thread John Cox
On Sat, 22 Jul 2023 17:28:31 +0200, you wrote: >On Thu, Jul 20, 2023 at 1:40?PM John Cox wrote: > >> Add a callback to enable user allocation of video frames on the final >> stage of a filter chain. >> >> >What about an audio? I have a use case for video and none for audio, but I can add audio

Re: [FFmpeg-devel] [PATCH 1/1] avfilter/buffersink: Add video frame allocation callback

2023-07-22 Thread John Cox
Hi On Sat, 22 Jul 2023 17:12:51 +0200, you wrote: >John Cox (12023-07-20): >> Add a callback to enable user allocation of video frames on the final >> stage of a filter chain. >> >> Signed-off-by: John Cox >> --- >> libavfilter/buffersink.c | 21 + >>

Re: [FFmpeg-devel] [PATCH 1/5] avutil/tx_template: extend to 2M

2023-07-22 Thread Michael Niedermayer
On Sat, Jun 17, 2023 at 12:20:44AM +0200, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavutil/tx_template.c | 12 > 1 file changed, 12 insertions(+) will apply patches 1-4 (this should reduce the differences in the avradio repository in

[FFmpeg-devel] [PATCH] avutil/tree: fix typo in documentation

2023-07-22 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavutil/tree.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/tree.h b/libavutil/tree.h index bbb8fbb126..18a191c06d 100644 --- a/libavutil/tree.h +++ b/libavutil/tree.h @@ -97,7 +97,7 @@ void *av_tree_find(const struct

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/rka: Fix integer overflow in decode_filter()

2023-07-22 Thread Michael Niedermayer
On Fri, Jun 30, 2023 at 02:16:54AM +0200, Michael Niedermayer wrote: > Fixes: signed integer overflow: 2147443649 + 65535 cannot be represented in > type 'int' > Fixes: > 60054/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_RKA_fuzzer-5095674572832768 > > Found-by: continuous fuzzing process

Re: [FFmpeg-devel] [PATCH] avformat/rka: bps < 8 is invalid

2023-07-22 Thread Michael Niedermayer
On Tue, Apr 11, 2023 at 01:47:45AM +0200, Michael Niedermayer wrote: > Fixes: division by zero > Fixes: > 57828/clusterfuzz-testcase-minimized-ffmpeg_dem_RKA_fuzzer-6571818338353152 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg >

Re: [FFmpeg-devel] [PATCH 1/1] avfilter/buffersink: Add video frame allocation callback

2023-07-22 Thread Nicolas George
Paul B Mahol (12023-07-22): > What about an audio? Are we in the business of refusing a patch adding an interesting feature because we want two interesting features instead? > This works only for sinks mostly, what about filters inside graph? It is already in place, it has been for years. This

Re: [FFmpeg-devel] [PATCH 1/1] avfilter/buffersink: Add video frame allocation callback

2023-07-22 Thread Paul B Mahol
On Thu, Jul 20, 2023 at 1:40 PM John Cox wrote: > Add a callback to enable user allocation of video frames on the final > stage of a filter chain. > > What about an audio? This works only for sinks mostly, what about filters inside graph? > Signed-off-by: John Cox > --- >

Re: [FFmpeg-devel] [PATCH 1/1] avfilter/buffersink: Add video frame allocation callback

2023-07-22 Thread Nicolas George
John Cox (12023-07-20): > Add a callback to enable user allocation of video frames on the final > stage of a filter chain. > > Signed-off-by: John Cox > --- > libavfilter/buffersink.c | 21 + > libavfilter/buffersink.h | 27 +++ >

[FFmpeg-devel] [PATCH 5/5] avradio/sdrdemux: store min/max frequency, driver, label and tuner

2023-07-22 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavradio/sdr.h| 1 + libavradio/sdrdemux.c | 35 ++- libavradio/sdrinradio.c | 14 ++ 3 files changed, 49 insertions(+), 1 deletion(-) diff --git a/libavradio/sdr.h b/libavradio/sdr.h index

[FFmpeg-devel] [PATCH 4/5] avradio/sdrdemux: avoid literal offsets in dump code

2023-07-22 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavradio/sdrdemux.c | 23 +++ 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/libavradio/sdrdemux.c b/libavradio/sdrdemux.c index 66130d9662..09d720de23 100644 --- a/libavradio/sdrdemux.c +++ b/libavradio/sdrdemux.c @@

[FFmpeg-devel] [PATCH 3/5] avradio/sdr: Remove direct inclusion of pthread.h

2023-07-22 Thread Michael Niedermayer
Fate tests pass on mingw32 & 64 with this Signed-off-by: Michael Niedermayer --- libavradio/sdr.h | 1 - libavradio/sdrdemux.c | 1 - 2 files changed, 2 deletions(-) diff --git a/libavradio/sdr.h b/libavradio/sdr.h index c651ba0d99..4349763bd1 100644 --- a/libavradio/sdr.h +++

[FFmpeg-devel] [PATCH 2/5] avradio/vissualize: change color of the active station

2023-07-22 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavradio/vissualize.c | 6 -- tests/ref/fate/sdr-am | 2 +- tests/ref/fate/sdr-fm | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/libavradio/vissualize.c b/libavradio/vissualize.c index 2d397546dc..15d7f9e95f 100644 ---

[FFmpeg-devel] [PATCH 1/5] avradio/vissualize: support simple skiping of chars

2023-07-22 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavradio/vissualize.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/libavradio/vissualize.c b/libavradio/vissualize.c index a3dcf5801b..2d397546dc 100644 --- a/libavradio/vissualize.c +++ b/libavradio/vissualize.c @@

Re: [FFmpeg-devel] [PATCH 01/14] avradio/sdrdemux: Add Mittelwelle / Mediumwave / Mediumfrequency band

2023-07-22 Thread Michael Niedermayer
On Tue, Jul 18, 2023 at 11:45:29PM +0200, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavradio/sdrdemux.c | 1 + > 1 file changed, 1 insertion(+) will apply patchset (with fate test fixed as described) [...] -- Michael GnuPG fingerprint: