Re: [FFmpeg-devel] [PATCH 1/3] avcodec/ratecontrol: Avoid floating point division by 0 of mb_num

2021-05-28 Thread Michael Niedermayer
On Fri, May 28, 2021 at 08:48:32PM +0200, Michael Niedermayer wrote: > Fixes: Ticket7990 > Fixes: CVE-2020-20448 > > Signed-off-by: Michael Niedermayer > --- > libavcodec/ratecontrol.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) please disregard this patch, its already fixed since

[FFmpeg-devel] Ping: [PATCH] avfilter/vf_subtitles: allow using embedded fonts

2021-05-28 Thread Oneric
On Sun, May 02, 2021 at 23:02:02 +0200, Oneric wrote: > ASS subtitles can have encoded fonts embedded into the subtitle file > itself. Allow libass to load those, to render subs as intended. > --- > libavfilter/vf_subtitles.c | 1 + > 1 file changed, 1 insertion(+) another ping

[FFmpeg-devel] [PATCH 3/3] avcodec/lpc: Avoid floating point division by 0 in compute_ref_coefs()

2021-05-28 Thread Michael Niedermayer
Fixes: Ticket7996 Fixes: CVE-2020-20445 Signed-off-by: Michael Niedermayer --- libavcodec/lpc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/lpc.h b/libavcodec/lpc.h index 88ca247f87..52170fd623 100644 --- a/libavcodec/lpc.h +++ b/libavcodec/lpc.h @@ -143,7

[FFmpeg-devel] [PATCH] avcodec/aacenc: Avoid 0 lambda

2021-05-28 Thread Michael Niedermayer
Fixes: Ticket8003 Fixes: CVE-2020-20453 Signed-off-by: Michael Niedermayer --- libavcodec/aacenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/aacenc.c b/libavcodec/aacenc.c index aa223cf25f..e80591ba86 100644 --- a/libavcodec/aacenc.c +++

[FFmpeg-devel] [PATCH 2/3] avcodec/aacpsy: Avoid floating point division by 0 of norm_fac

2021-05-28 Thread Michael Niedermayer
Fixes: Ticket7995 Fixes: CVE-2020-20446 Signed-off-by: Michael Niedermayer --- libavcodec/aacpsy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/aacpsy.c b/libavcodec/aacpsy.c index 482113d427..e51d29750b 100644 --- a/libavcodec/aacpsy.c +++

[FFmpeg-devel] [PATCH 1/3] avcodec/ratecontrol: Avoid floating point division by 0 of mb_num

2021-05-28 Thread Michael Niedermayer
Fixes: Ticket7990 Fixes: CVE-2020-20448 Signed-off-by: Michael Niedermayer --- libavcodec/ratecontrol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c index 6b77ccd006..aa146730f4 100644 --- a/libavcodec/ratecontrol.c +++

Re: [FFmpeg-devel] Ping: [PATCH] avfilter/vf_subtitles: allow using embedded fonts

2021-05-28 Thread Gyan Doshi
On 2021-05-28 23:26, Oneric wrote: On Sun, May 02, 2021 at 23:02:02 +0200, Oneric wrote: ASS subtitles can have encoded fonts embedded into the subtitle file itself. Allow libass to load those, to render subs as intended. --- libavfilter/vf_subtitles.c | 1 + 1 file changed, 1

Re: [FFmpeg-devel] [PATCH] ffprobe: add decode_error_flags

2021-05-28 Thread Tobias Rapp
On 27.05.2021 20:09, Marton Balint wrote: [...] An alternative approach is to print the meaning of the actually used flags:  concealment_active="0" decode_slices="0" /> This is the most readable, but maybe too verbose for the default use? This would match how pixfmt flags are currently

[FFmpeg-devel] [PATCH 06/10] lavfi/dnn_backend_tf: Request-based Execution

2021-05-28 Thread Shubhanshu Saxena
This commit adds RequestItem and rearranges the existing sync execution mechanism to use request-based execution. It will help in adding async functionality to the TensorFlow backend later. Signed-off-by: Shubhanshu Saxena --- libavfilter/dnn/dnn_backend_tf.c | 297

[FFmpeg-devel] [PATCH 05/10] lavfi/dnn: Fill Task using Common Function

2021-05-28 Thread Shubhanshu Saxena
This commit adds a common function for filling the TaskItems in all three backends. Signed-off-by: Shubhanshu Saxena --- libavfilter/dnn/dnn_backend_common.c | 20 libavfilter/dnn/dnn_backend_common.h | 15 +++ libavfilter/dnn/dnn_backend_openvino.c | 23

[FFmpeg-devel] [PATCH 04/10] lavfi/dnn: Use uint8_t for async and do_ioproc in TaskItems

2021-05-28 Thread Shubhanshu Saxena
These properties have values either 0 or 1, so using uint8_t is a better option as compared to int. Signed-off-by: Shubhanshu Saxena --- libavfilter/dnn/dnn_backend_common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/dnn/dnn_backend_common.h

[FFmpeg-devel] [PATCH 02/10] lavfi/dnn: Convert output_name to char** in TaskItem

2021-05-28 Thread Shubhanshu Saxena
Convert output_name to char **output_names in TaskItem and use it as a pointer to array of output names in the DNN backend. Signed-off-by: Shubhanshu Saxena --- libavfilter/dnn/dnn_backend_common.h | 2 +- libavfilter/dnn/dnn_backend_openvino.c | 10 +- 2 files changed, 6

[FFmpeg-devel] [PATCH 01/10] lavfi/dnn: Extract TaskItem and InferenceItem from OpenVino Backend

2021-05-28 Thread Shubhanshu Saxena
Extract TaskItem and InferenceItem from OpenVino backend and convert ov_model to void in TaskItem. Signed-off-by: Shubhanshu Saxena --- libavfilter/dnn/dnn_backend_common.h | 19 + libavfilter/dnn/dnn_backend_openvino.c | 58 ++ 2 files changed, 40

Re: [FFmpeg-devel] [PATCH 2/3] libavcodec/mips: Fix build errors reported by clang

2021-05-28 Thread yinshiyou-hf
-原始邮件- 发件人: "Jin Bo" 发送时间: 2021-05-28 10:04:40 (星期五) 收件人: ffmpeg-devel@ffmpeg.org 抄送: "Jin Bo" 主题: [FFmpeg-devel] [PATCH 2/3] libavcodec/mips: Fix build errors reported by clang Clang is more strict on the type of asm operands, float or double type variable should use

[FFmpeg-devel] [PATCH 09/10] lavfi/dnn: Async Support for TensorFlow Backend

2021-05-28 Thread Shubhanshu Saxena
This commit adds functions to execute the inference requests to TensorFlow Backend asynchronously in detached threads. Signed-off-by: Shubhanshu Saxena --- libavfilter/dnn/dnn_backend_tf.c | 198 --- libavfilter/dnn/dnn_backend_tf.h | 3 +

[FFmpeg-devel] [PATCH 08/10] lavfi/dnn_backend_tf: Error Handling

2021-05-28 Thread Shubhanshu Saxena
This commit adds handling for cases where an error may occur, clearing the allocated memory resources. Signed-off-by: Shubhanshu Saxena --- libavfilter/dnn/dnn_backend_tf.c | 100 +++ 1 file changed, 74 insertions(+), 26 deletions(-) diff --git

[FFmpeg-devel] [PATCH 10/10] lavfi/dnn_backend_tf.c: Documentation for tf_infer_request functions

2021-05-28 Thread Shubhanshu Saxena
Documentation for functions related to tf_infer_request Signed-off-by: Shubhanshu Saxena --- libavfilter/dnn/dnn_backend_tf.c | 41 1 file changed, 41 insertions(+) diff --git a/libavfilter/dnn/dnn_backend_tf.c b/libavfilter/dnn/dnn_backend_tf.c index

[FFmpeg-devel] [PATCH 07/10] lavfi/dnn_backend_tf: Separate function for filling RequestItem and callback

2021-05-28 Thread Shubhanshu Saxena
This commit rearranges the existing code to create two separate functions for filling request with execution data and the completion callback. Signed-off-by: Shubhanshu Saxena --- libavfilter/dnn/dnn_backend_tf.c | 81 ++-- 1 file changed, 57 insertions(+), 24

[FFmpeg-devel] [PATCH 03/10] lavfi/dnn: Add nb_output to TaskItem

2021-05-28 Thread Shubhanshu Saxena
Add nb_output property to TaskItem for use in TensorFlow backend and Native backend. Signed-off-by: Shubhanshu Saxena --- libavfilter/dnn/dnn_backend_common.h | 1 + libavfilter/dnn/dnn_backend_openvino.c | 3 +++ 2 files changed, 4 insertions(+) diff --git

Re: [FFmpeg-devel] [PATCH] avcodec: Pass the HDR10+ metadata to the packet side data in VP9 encoder

2021-05-28 Thread Michael Niedermayer
On Thu, May 27, 2021 at 09:44:10AM -0700, Mohammad Izadi wrote: > HDR10+ metadata is stored in the bit stream for HEVC. The story is different > for VP9 and cannot store the metadata in the bit stream. HDR10+ should be > passed to packet side data an stored in the container (mkv) for VP9. > >

[FFmpeg-devel] [PATCH] doc/examples/muxing: remove unused arguments of open_video and open_audio

2021-05-28 Thread Steven Liu
Signed-off-by: Steven Liu --- doc/examples/muxing.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c index fe1b9ded21..3986561b2f 100644 --- a/doc/examples/muxing.c +++ b/doc/examples/muxing.c @@ -242,8 +242,7 @@ static

Re: [FFmpeg-devel] [PATCH 1/3] libavcodec/mips: Fix specification of instruction name

2021-05-28 Thread Michael Niedermayer
On Fri, May 28, 2021 at 05:21:39PM +0800, yinshiyou...@loongson.cn wrote: > > > [...] > ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email