[FFmpeg-devel] [PATCH v2 5/8] avcodec/h26xenc: Add h264/hevc VPE HW encoder

2020-05-31 Thread Zhang, Guiyong
This encoder uses VPI(VPE Interface) API and library for h264 and hevc encoding. Signed-off-by: rxchen --- configure| 2 + libavcodec/Makefile | 2 + libavcodec/allcodecs.c | 2 + libavcodec/vpe_h26xenc.c | 633 +++

[FFmpeg-devel] [PATCH v2 4/8] avcodec/vp9dec: Add vp9 VPE HW decoder

2020-05-31 Thread Zhang, Guiyong
This decoder uses VPI(VPE Interface) API and library for vp9 decoding. Signed-off-by: Qin.Wang --- configure | 1 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/vpe_vp9dec.c | 67 + 4 files changed, 70

[FFmpeg-devel] [PATCH v2 7/8] avfilter/spliter: Add VPE spliter filter

2020-05-31 Thread Zhang, Guiyong
This filter splite one input to multi output with different picture data. Signed-off-by: Qin.Wang --- configure| 1 + libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_spliter_vpe.c | 319 +++

[FFmpeg-devel] [PATCH v2 8/8] vfilter/pp: Add VPE post processing filter

2020-05-31 Thread Zhang, Guiyong
The input of this filter is raw video data, it supports most of the popular raw data formats like NV12, YUV420P, YUV420P10BE etc. Signed-off-by: Guiyong.zhang --- configure| 1 + libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_pp_vpe.c | 391

[FFmpeg-devel] [PATCH v2 6/8] vcodec/vp9enc: Add vp9 VPE HW encoder

2020-05-31 Thread Zhang, Guiyong
This encoder uses VPI(VPE Interface) API and library for vp9 encoding. Signed-off-by: Guiyong.zhang --- configure | 1 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/vpe_vp9enc.c | 536

[FFmpeg-devel] [PATCH v2 1/8] avutil/hwcontext: Add VPE implementation

2020-05-31 Thread Zhang, Guiyong
VPE(VeriSilicon Paltform Engine) is VeriSilicon's hardware engine for multi formats video encoding and decoding. It is used with the VPE hwaccel codec API and library to initialize and use a VPE device which is within the hwcontext libavutil framework. Signed-off-by: Qin.Wang --- configure

[FFmpeg-devel] [PATCH v2 2/8] avcodec/h264dec: Add h264 VPE HW decoder

2020-05-31 Thread Zhang, Guiyong
This decoder uses VPI(VPE Interface) API and library for h264 decoding. Signed-off-by: Qin.Wang --- configure | 1 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/vpe_dec_common.c | 476

[FFmpeg-devel] [PATCH v2 3/8] avcodec/hevcdec: Add hevc VPE HW decoder

2020-05-31 Thread Zhang, Guiyong
This decoder uses VPI(VPE Interface) API and library for hevc decoding. Signed-off-by: Qin.Wang --- configure| 1 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/vpe_hevcdec.c | 69 4 files changed,

Re: [FFmpeg-devel] [PATCH 1/3] ffbuild: Refine MIPS handling

2020-05-31 Thread Shiyou Yin
>-Original Message- >From: ffmpeg-devel-boun...@ffmpeg.org [mailto:ffmpeg-devel-boun...@ffmpeg.org] >On Behalf Of >Shiyou Yin >Sent: Sunday, May 31, 2020 11:33 AM >To: 'FFmpeg development discussions and patches' >Cc: yinshi...@loongson.cn >Subject: Re: [FFmpeg-devel] [PATCH 1/3] ffbuild:

[FFmpeg-devel] [PATCH v2 3/3] lavc/qsv: fix make checkheaders warning

2020-05-31 Thread Jun Zhao
From: Jun Zhao make checkheaders will get warning as follow: In file included from libavcodec/qsv_internal.h.c:1: ./libavcodec/qsv_internal.h:24:5: warning: "CONFIG_VAAPI" is not defined, evaluates to 0 [-Wundef] 24 | #if CONFIG_VAAPI | ^~~~ include "config.h" to fix the

[FFmpeg-devel] [PATCH v2 2/3] hwcontext_vulkan: fix make checkheaders fail

2020-05-31 Thread Jun Zhao
From: Jun Zhao make checkheaders will get error as follow: CC libavutil/hwcontext_vulkan.h.o In file included from libavutil/hwcontext_vulkan.h.c:1: ./libavutil/hwcontext_vulkan.h:130:23: error: ‘AV_NUM_DATA_POINTERS’ undeclared here (not in a function) 130 | void

[FFmpeg-devel] [PATCH v2 1/3] checkasm: sw_rgb: Fix mixed declaration and code

2020-05-31 Thread Jun Zhao
From: Jun Zhao Fix mixed declaration and code. Signed-off-by: Jun Zhao --- tests/checkasm/sw_rgb.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/checkasm/sw_rgb.c b/tests/checkasm/sw_rgb.c index 1e8ea15..e5aad20 100644 --- a/tests/checkasm/sw_rgb.c +++

Re: [FFmpeg-devel] [PATCH v2 1/8] avutil/hwcontext: Add VPE implementation

2020-05-31 Thread Carl Eugen Hoyos
> Am 31.05.2020 um 08:24 schrieb Zhang, Guiyong : > > @@ -1822,6 +1823,7 @@ EXTERNAL_LIBRARY_LIST=" > opengl > pocketsphinx > vapoursynth > +vpe If libvpe is a free library, please point to the repository, if not please move this to the non-free section. Carl Eugen

[FFmpeg-devel] [PATCH 2/4] avformat/thp: Check compcount

2020-05-31 Thread Michael Niedermayer
Fixes: out of array access Fixes: 22520/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5100297658826752 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/thp.c | 3 +++ 1 file changed, 3

[FFmpeg-devel] [PATCH 3/4] avformat/mlvdec: fail reading a packet with 0 streams

2020-05-31 Thread Michael Niedermayer
Fixes: NULL pointer dereference Fixes: 22604/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5667739074297856.fuzz Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavformat/mlvdec.c | 6 +- 1

[FFmpeg-devel] [PATCH 4/4] avcodec/adpcm: XA: Check shift similar to filter

2020-05-31 Thread Michael Niedermayer
Fixes: negative shift Fixes: 22499/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_ADPCM_XA_fuzzer-5765452130418688 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/adpcm.c | 10 +-

[FFmpeg-devel] [PATCH 1/4] avcodec/jpeg2000dec: clear pointer which become stale in get_ppt()

2020-05-31 Thread Michael Niedermayer
Fixes: use after free Fixes: 22484/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-5671488765296640 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/jpeg2000dec.c | 1 + 1

Re: [FFmpeg-devel] [PATCH 2/2] avutil/buffer: reject NULL as argument for the av_buffer_pool_init2() alloc callback

2020-05-31 Thread Nicolas George
James Almer (12020-05-30): > This prevents NULL pointer dereference crashes when calling > av_buffer_pool_get() > using the resulting pool. > > Signed-off-by: James Almer > --- > libavutil/buffer.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git

Re: [FFmpeg-devel] [PATCH 1/2] avcodec: Add AV_CODEC_FLAG2_FAST_UNSAFE, move unsafe uses of FAST to it

2020-05-31 Thread Derek Buitenhuis
On 28/05/2020 17:26, Lynne wrote: > That's a bug. We should absolutely not have flags to enable bugs. > The fast flag should be removed from h264 until that bug is fixed, > or deprecated altogether. 100% agree. Hard NAK from me for the very little my opinion here is still worth. This is

Re: [FFmpeg-devel] [PATCH 3/4] avformat/mlvdec: fail reading a packet with 0 streams

2020-05-31 Thread James Almer
On 5/31/2020 10:50 AM, Michael Niedermayer wrote: > Fixes: NULL pointer dereference > Fixes: > 22604/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5667739074297856.fuzz > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg >

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/packet: change public function and struct size parameter types to size_t

2020-05-31 Thread Andreas Rheinhardt
James Almer: > Signed-off-by: James Almer > --- > doc/APIchanges| 4 ++-- > libavcodec/avpacket.c | 49 +++ > libavcodec/packet.h | 45 +++ > libavutil/frame.h | 4 > 4 files changed, 100

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/jpeg2000dec: clear pointer which become stale in get_ppt()

2020-05-31 Thread Gautam Ramakrishnan
On Sun, May 31, 2020 at 10:12 PM Michael Niedermayer wrote: > > On Sun, May 31, 2020 at 09:22:46PM +0530, Gautam Ramakrishnan wrote: > > On Sun, May 31, 2020 at 7:21 PM Michael Niedermayer > > wrote: > > > > > > Fixes: use after free > > > Fixes: > > >

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/packet: change public function and struct size parameter types to size_t

2020-05-31 Thread Andreas Rheinhardt
James Almer: > On 5/31/2020 4:11 PM, Andreas Rheinhardt wrote: >> James Almer: >>> On 5/31/2020 2:58 PM, Andreas Rheinhardt wrote:>> (Anyway, when this >>> function is switched to size_t, the correct error would be AVERROR(ERANGE). It is actually already the correct error in case size >

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/packet: change public function and struct size parameter types to size_t

2020-05-31 Thread Andreas Rheinhardt
James Almer: > On 5/31/2020 4:34 PM, Andreas Rheinhardt wrote: >> James Almer: >>> On 5/31/2020 4:11 PM, Andreas Rheinhardt wrote: James Almer: > On 5/31/2020 2:58 PM, Andreas Rheinhardt wrote:>> (Anyway, when this > function is switched to size_t, >> the correct error would be

Re: [FFmpeg-devel] [PATCH 1/3] avutil/buffer: change public function and struct size parameter types to size_t

2020-05-31 Thread James Almer
On 5/31/2020 1:38 PM, James Almer wrote: > Signed-off-by: James Almer > --- > Aside from being more correct, it's also needed now that the video_enc_params > API, which may allocate arrays > INT_MAX, is used as frame side data. > > doc/APIchanges | 4 > libavutil/buffer.c

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/packet: change public function and struct size parameter types to size_t

2020-05-31 Thread James Almer
On 5/31/2020 2:58 PM, Andreas Rheinhardt wrote: > James Almer: >> Signed-off-by: James Almer >> --- >> doc/APIchanges| 4 ++-- >> libavcodec/avpacket.c | 49 +++ >> libavcodec/packet.h | 45 +++ >>

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/jpeg2000dec: clear pointer which become stale in get_ppt()

2020-05-31 Thread Gautam Ramakrishnan
On Sun, May 31, 2020 at 7:21 PM Michael Niedermayer wrote: > > Fixes: use after free > Fixes: > 22484/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-5671488765296640 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg >

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/packet: change public function and struct size parameter types to size_t

2020-05-31 Thread James Almer
On 5/31/2020 3:35 PM, James Almer wrote: > On 5/31/2020 2:58 PM, Andreas Rheinhardt wrote: >> James Almer: >>> Signed-off-by: James Almer >>> --- >>> doc/APIchanges| 4 ++-- >>> libavcodec/avpacket.c | 49 +++ >>> libavcodec/packet.h | 45

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/packet: change public function and struct size parameter types to size_t

2020-05-31 Thread Andreas Rheinhardt
James Almer: > On 5/31/2020 2:58 PM, Andreas Rheinhardt wrote:>> (Anyway, when this function > is switched to size_t, >> the correct error would be AVERROR(ERANGE). It is actually already the >> correct error in case size > INT_MAX - AV_INPUT_BUFFER_PADDING_SIZE.) >> 3. That's unfortunately only

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/packet: change public function and struct size parameter types to size_t

2020-05-31 Thread James Almer
On 5/31/2020 4:11 PM, Andreas Rheinhardt wrote: > James Almer: >> On 5/31/2020 2:58 PM, Andreas Rheinhardt wrote:>> (Anyway, when this >> function is switched to size_t, >>> the correct error would be AVERROR(ERANGE). It is actually already the >>> correct error in case size > INT_MAX -

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/packet: change public function and struct size parameter types to size_t

2020-05-31 Thread James Almer
On 5/31/2020 4:34 PM, Andreas Rheinhardt wrote: > James Almer: >> On 5/31/2020 4:11 PM, Andreas Rheinhardt wrote: >>> James Almer: On 5/31/2020 2:58 PM, Andreas Rheinhardt wrote:>> (Anyway, when this function is switched to size_t, > the correct error would be AVERROR(ERANGE). It is

[FFmpeg-devel] [PATCH] avfilter: add afwtdn filter

2020-05-31 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/Makefile | 1 + libavfilter/af_afwtdn.c | 619 +++ libavfilter/allfilters.c | 1 + 3 files changed, 621 insertions(+) create mode 100644 libavfilter/af_afwtdn.c diff --git a/libavfilter/Makefile

Re: [FFmpeg-devel] [PATCH] avfilter: add afwtdn filter

2020-05-31 Thread Nicolas George
Paul B Mahol (12020-05-31): > Signed-off-by: Paul B Mahol > --- > libavfilter/Makefile | 1 + > libavfilter/af_afwtdn.c | 619 +++ > libavfilter/allfilters.c | 1 + > 3 files changed, 621 insertions(+) > create mode 100644 libavfilter/af_afwtdn.c No

Re: [FFmpeg-devel] [PATCH] avfilter: add afwtdn filter

2020-05-31 Thread Paul B Mahol
On 5/31/20, Nicolas George wrote: > Paul B Mahol (12020-05-31): >> Signed-off-by: Paul B Mahol >> --- >> libavfilter/Makefile | 1 + >> libavfilter/af_afwtdn.c | 619 +++ >> libavfilter/allfilters.c | 1 + >> 3 files changed, 621 insertions(+) >>

Re: [FFmpeg-devel] [PATCH] avfilter: add afwtdn filter

2020-05-31 Thread Lou Logan
On Sun, May 31, 2020, at 12:35 PM, Nicolas George wrote: > > No doc Yes, docs are needed, and an example would be nice. One complaint I hear often is that many filters have no examples. > name completely impossible to understand. Unacceptable. Got any suggestions? We have 3 existing "audio-3

Re: [FFmpeg-devel] [PATCH] avfilter: add afwtdn filter

2020-05-31 Thread Reino Wijnsma
On 2020-05-31T22:37:20+0200, Paul B Mahol wrote: > On 5/31/20, Nicolas George wrote: >> Paul B Mahol (12020-05-31): >>> Signed-off-by: Paul B Mahol >>> --- >>> libavfilter/Makefile | 1 + >>> libavfilter/af_afwtdn.c | 619 +++ >>>

Re: [FFmpeg-devel] [PATCH 3/4] avformat/mlvdec: fail reading a packet with 0 streams

2020-05-31 Thread Michael Niedermayer
On Sun, May 31, 2020 at 10:58:16AM -0300, James Almer wrote: > On 5/31/2020 10:50 AM, Michael Niedermayer wrote: > > Fixes: NULL pointer dereference > > Fixes: > > 22604/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5667739074297856.fuzz > > > > Found-by: continuous fuzzing process > >

Re: [FFmpeg-devel] [PATCH 3/4] avformat/mlvdec: fail reading a packet with 0 streams

2020-05-31 Thread James Almer
On 5/31/2020 6:48 PM, Michael Niedermayer wrote: > On Sun, May 31, 2020 at 10:58:16AM -0300, James Almer wrote: >> On 5/31/2020 10:50 AM, Michael Niedermayer wrote: >>> Fixes: NULL pointer dereference >>> Fixes: >>> 22604/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-5667739074297856.fuzz

Re: [FFmpeg-devel] [PATCH 1/3] avutil/buffer: change public function and struct size parameter types to size_t

2020-05-31 Thread Hendrik Leppkes
On Sun, May 31, 2020 at 10:13 PM James Almer wrote: > > On 5/31/2020 1:38 PM, James Almer wrote: > > Signed-off-by: James Almer > > --- > > Aside from being more correct, it's also needed now that the > > video_enc_params > > API, which may allocate arrays > INT_MAX, is used as frame side data.

Re: [FFmpeg-devel] [PATCH v6] avcodec/mpeg12enc: support mpeg2 encoder const profile

2020-05-31 Thread Limin Wang
On Sun, May 31, 2020 at 07:19:24PM +0200, Marton Balint wrote: > > > On Sat, 30 May 2020, lance.lmw...@gmail.com wrote: > > >From: Limin Wang > > > >Signed-off-by: Limin Wang > >--- > >doc/encoders.texi | 14 ++ > >libavcodec/mpeg12enc.c | 2 ++ > >libavcodec/profiles.h | 8

Re: [FFmpeg-devel] [PATCH] fate/vcodec: use the encoder private option for frame skip compare function

2020-05-31 Thread James Almer
On 5/27/2020 11:01 AM, James Almer wrote: > Stop using the deprecated global option > > Signed-off-by: James Almer > --- > tests/fate/vcodec.mak | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak > index ec2a9c339d..1e9c0d5647

Re: [FFmpeg-devel] [PATCH v2 1/3] checkasm: sw_rgb: Fix mixed declaration and code

2020-05-31 Thread Michael Niedermayer
On Sun, May 31, 2020 at 04:18:32PM +0800, Jun Zhao wrote: > From: Jun Zhao > > Fix mixed declaration and code. > > Signed-off-by: Jun Zhao > --- > tests/checkasm/sw_rgb.c | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) LGTM thx -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/jpeg2000dec: clear pointer which become stale in get_ppt()

2020-05-31 Thread Gautam Ramakrishnan
On Sun, May 31, 2020 at 7:21 PM Michael Niedermayer wrote: > > Fixes: use after free > Fixes: > 22484/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-5671488765296640 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg >

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/jpeg2000dec: clear pointer which become stale in get_ppt()

2020-05-31 Thread Michael Niedermayer
On Sun, May 31, 2020 at 09:22:46PM +0530, Gautam Ramakrishnan wrote: > On Sun, May 31, 2020 at 7:21 PM Michael Niedermayer > wrote: > > > > Fixes: use after free > > Fixes: > > 22484/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_JPEG2000_fuzzer-5671488765296640 > > > > Found-by: continuous

Re: [FFmpeg-devel] [PATCH 1/2] dnn: add openvino as one of dnn backend

2020-05-31 Thread Pedro Arthur
Hi, Em seg., 25 de mai. de 2020 às 22:56, Guo, Yejun escreveu: > > OpenVINO is a Deep Learning Deployment Toolkit at > https://github.com/openvinotoolkit/openvino, it supports CPU, GPU > and heterogeneous plugins to accelerate deep learning inferencing. > > Please refer to >

Re: [FFmpeg-devel] [PATCH 2/2] Set stream_id correctly based on KLV profile selected.

2020-05-31 Thread Marton Balint
On Sun, 31 May 2020, Brad Hards wrote: I think I fixed these issues in V2 http://ffmpeg.org/pipermail/ffmpeg-devel/2020-May/263332.html and http://ffmpeg.org/pipermail/ffmpeg-devel/2020-May/26.html Is anything more required? No, I will apply your patches soon. Thanks, Marton

Re: [FFmpeg-devel] [PATCH v6] avcodec/mpeg12enc: support mpeg2 encoder const profile

2020-05-31 Thread Marton Balint
On Sat, 30 May 2020, lance.lmw...@gmail.com wrote: From: Limin Wang Signed-off-by: Limin Wang --- doc/encoders.texi | 14 ++ libavcodec/mpeg12enc.c | 2 ++ libavcodec/profiles.h | 8 3 files changed, 24 insertions(+) diff --git a/doc/encoders.texi

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg: update text requesting samples

2020-05-31 Thread Marton Balint
On Fri, 29 May 2020, Andriy Gelman wrote: On Sun, 10. May 15:01, Andriy Gelman wrote: From: Andriy Gelman Signed-off-by: Andriy Gelman --- Same as commit d1e52e396b8aa778bd8d12bf25864beca0937d0a doc/developer.texi | 2 +- fftools/cmdutils.c | 2 +- fftools/ffmpeg.c | 2 +- 3 files

[FFmpeg-devel] [PATCH 2/3] avutil/frame: change av_frame_new_side_data() size parameter type to size_t

2020-05-31 Thread James Almer
Signed-off-by: James Almer --- doc/APIchanges| 4 ++-- libavutil/frame.c | 4 libavutil/frame.h | 8 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/doc/APIchanges b/doc/APIchanges index 9de23744c0..8d353fdcef 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@

[FFmpeg-devel] [PATCH 3/3] avcodec/packet: change public function and struct size parameter types to size_t

2020-05-31 Thread James Almer
Signed-off-by: James Almer --- doc/APIchanges| 4 ++-- libavcodec/avpacket.c | 49 +++ libavcodec/packet.h | 45 +++ libavutil/frame.h | 4 4 files changed, 100 insertions(+), 2 deletions(-) diff

[FFmpeg-devel] [PATCH 1/3] avutil/buffer: change public function and struct size parameter types to size_t

2020-05-31 Thread James Almer
Signed-off-by: James Almer --- Aside from being more correct, it's also needed now that the video_enc_params API, which may allocate arrays > INT_MAX, is used as frame side data. doc/APIchanges | 4 libavutil/buffer.c | 25 +

[FFmpeg-devel] [PATCH] dnn/native: fix typo for definition of DOT_INTERMEDIATE

2020-05-31 Thread Wu, Zhiwen
From: Wu Zhiwen --- libavfilter/dnn/dnn_backend_native.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/dnn/dnn_backend_native.h b/libavfilter/dnn/dnn_backend_native.h index 61f0cb202f..bec63be450 100644 --- a/libavfilter/dnn/dnn_backend_native.h +++

Re: [FFmpeg-devel] [PATCH 2/2] avutil/buffer: reject NULL as argument for the av_buffer_pool_init2() alloc callback

2020-05-31 Thread James Almer
On 5/31/2020 7:30 AM, Nicolas George wrote: > James Almer (12020-05-30): >> This prevents NULL pointer dereference crashes when calling >> av_buffer_pool_get() >> using the resulting pool. >> >> Signed-off-by: James Almer >> --- >> libavutil/buffer.c | 6 +- >> 1 file changed, 5

Re: [FFmpeg-devel] [PATCH v6] avcodec/mpeg12enc: support mpeg2 encoder const profile

2020-05-31 Thread myp...@gmail.com
On Sat, May 30, 2020 at 9:29 PM wrote: > > From: Limin Wang > > Signed-off-by: Limin Wang > --- > doc/encoders.texi | 14 ++ > libavcodec/mpeg12enc.c | 2 ++ > libavcodec/profiles.h | 8 > 3 files changed, 24 insertions(+) > > diff --git a/doc/encoders.texi

Re: [FFmpeg-devel] [PATCH 2/2] hwcontext_vulkan: fix make checkheaders fail

2020-05-31 Thread myp...@gmail.com
On Sat, May 30, 2020 at 10:23 PM James Almer wrote: > > On 5/30/2020 11:19 AM, James Almer wrote: > > On 5/30/2020 10:16 AM, Jun Zhao wrote: > >> From: Jun Zhao > >> > >> make checkheaders will get error as follow: > >> CC libavutil/hwcontext_vulkan.h.o > >> In file included from

Re: [FFmpeg-devel] [PATCH v6] avcodec/mpeg12enc: support mpeg2 encoder const profile

2020-05-31 Thread lance . lmwang
On Mon, Jun 01, 2020 at 09:24:13AM +0800, myp...@gmail.com wrote: > On Sat, May 30, 2020 at 9:29 PM wrote: > > > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > doc/encoders.texi | 14 ++ > > libavcodec/mpeg12enc.c | 2 ++ > > libavcodec/profiles.h | 8

Re: [FFmpeg-devel] Here has a problem on doc/examples/filtering_audio.c

2020-05-31 Thread myp...@gmail.com
On Sat, May 30, 2020 at 11:21 AM JACKY_ZZ[猫猫爱吃鱼] wrote: > > Hi, everyone, > I do some tests with doc/examples/filtering_audio.c on audio formats like > mp3, m4a(aac), mpc, ogg, ape, flac, tta, wma and so on. The original > program(filtering_audio.c) always failed with audio format ape, and I do

Re: [FFmpeg-devel] [PATCH 1/2] dnn: add openvino as one of dnn backend

2020-05-31 Thread Guo, Yejun
> -Original Message- > From: Pedro Arthur > Sent: 2020年6月1日 0:45 > To: FFmpeg development discussions and patches > Cc: Guo, Yejun > Subject: Re: [FFmpeg-devel] [PATCH 1/2] dnn: add openvino as one of dnn > backend > > Hi, > > > Em seg., 25 de mai. de 2020 às 22:56, Guo, Yejun >