Re: [FFmpeg-devel] qt-faststart bug near 4GB

2018-06-08 Thread Eran Kornblau
Ping -Original Message- From: Eran Kornblau Sent: Friday, June 1, 2018 10:00 AM To: FFmpeg development discussions and patches Subject: RE: [FFmpeg-devel] qt-faststart bug near 4GB > On Thu, May 31, 2018 at 10:11:38AM +, Eran Kornblau wrote: > > > > > > -Original Message- >

Re: [FFmpeg-devel] [PATCH 1/4 v2] avcodec/vc1: fix overlap and loop filtering for Simple and Main profile

2018-06-08 Thread Jerome Borsboom
Overlap filtering I and BI frames for Simple and Main profile is only dependent on PQUANT. Restrict testing for CONDOVER and OVERFLAGS to advanced profile. Change from mb_width to end_mb_x in ff_vc1_i_loop_filter to avoid breaking the Microsoft Screen 2 decoder. Signed-off-by: Jerome Borsboom ---

Re: [FFmpeg-devel] [PATCH 3/4 v2] avcodec/vc1: rewrite vc1_decode_i_blocks to align with VC-1 spec

2018-06-08 Thread Jerome Borsboom
Change vc1_decode_i_blocks to use vc1_put_blocks_clamped and ff_vc1_i_loop_filter. Signed-off-by: Jerome Borsboom --- libavcodec/vc1_block.c | 77 +++--- 1 file changed, 29 insertions(+), 48 deletions(-) diff --git a/libavcodec/vc1_block.c b/libavcode

Re: [FFmpeg-devel] [PATCH 2/4 v2] avcodec/vc1: add Simple and Main profile to vc1_put_signed_blocks_clamped

2018-06-08 Thread Jerome Borsboom
Simple and Main Profile also need unsigned put_pixels_clamped. Add an argument to choose between signed and unsigned put_pixels and change function name to vc1_put_blocks_clamped. Signed-off-by: Jerome Borsboom --- libavcodec/vc1_block.c | 58 +- 1

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/vaapi: slice_vertical_position starts from zero for the second field

2018-06-08 Thread Jerome Borsboom
If there are no more issues or remarks with these two patches, could someone please commit them? Thanks! Regards, Jerome ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module

2018-06-08 Thread Pedro Arthur
Pushed. Thanks. 2018-06-07 12:29 GMT-03:00 Sergey Lavrushkin : > 2018-06-06 17:22 GMT+03:00 Pedro Arthur : >> >> Hi, >> >> 2018-06-05 20:23 GMT-03:00 Sergey Lavrushkin : >> > Here is the patch, that fixes described issues. >> When I try to run (video input), when tf is not enabled in configure it

[FFmpeg-devel] [PATCH] pixdesc: Only check against valid entries when iterating over lists of enums

2018-06-08 Thread Derek Buitenhuis
Some of these enums have gaps in between their values, since they correspond to the values in various specs, instead of being an incrementing list. Fixes segfaults when, for example, using the valid API call: av_color_primaries_from_name("jecdec-p22"); Signed-off-by: Derek Buitenhuis --- li

[FFmpeg-devel] [PATCH] avfilter/dnn_backend_native: fix leaks in error paths

2018-06-08 Thread Timo Rothenpieler
Fixes CID #1435888 --- libavfilter/dnn_backend_native.c | 4 1 file changed, 4 insertions(+) diff --git a/libavfilter/dnn_backend_native.c b/libavfilter/dnn_backend_native.c index 6e80dd3663..e0a9ec5003 100644 --- a/libavfilter/dnn_backend_native.c +++ b/libavfilter/dnn_backend_native.c @@ -

Re: [FFmpeg-devel] [PATCH 5/6] avcodec/avcodec.h: add AV_CODEC_ID_TIMED_TEXT_MARKUP

2018-06-08 Thread Marton Balint
On Tue, 5 Jun 2018, Tomas Härdin wrote: tor 2018-05-31 klockan 02:05 +0200 skrev Marton Balint: > Signed-off-by: Marton Balint ---  libavcodec/avcodec.h| 1 +  libavcodec/codec_desc.c | 8  libavcodec/version.h| 2 +-  3 files changed, 10 insertions(+), 1 deletion(-) diff --git

[FFmpeg-devel] [PATCH 4/4] avcodec/h264_slice: Fix overflow in recovery_frame computation

2018-06-08 Thread Michael Niedermayer
Fixes: signed integer overflow: 15 + 2147483646 cannot be represented in type 'int' Fixes: 8381/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H264_fuzzer-6225533137321984 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Micha

[FFmpeg-devel] [PATCH 3/4] avcodec/h264_mc_template: Only prefetch motion if the list is used.

2018-06-08 Thread Michael Niedermayer
Fixes: index 59 out of bounds for type 'H264Ref [48]' Fixes: 8232/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H264_fuzzer-5703295145345024 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec

[FFmpeg-devel] [PATCH 1/4] avcodec/wavpack: Fix overflow in adding tail

2018-06-08 Thread Michael Niedermayer
Fixes: signed integer overflow: 2146907204 + 26846088 cannot be represented in type 'int' Fixes: 8105/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WAVPACK_fuzzer-6233036682166272 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-

[FFmpeg-devel] [PATCH 2/4] avcodec/xwddec: Use ff_set_dimensions()

2018-06-08 Thread Michael Niedermayer
Fixes: OOM Fixes: 8178/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_XWD_fuzzer-4844793342459904 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/xwddec.c | 8 ++-- 1 file changed, 6 in

Re: [FFmpeg-devel] [PATCH v2 29/36] h264_metadata: Add option to set the level of the stream

2018-06-08 Thread Michael Niedermayer
On Fri, Jun 08, 2018 at 12:43:24AM +0100, Mark Thompson wrote: > --- > doc/bitstream_filters.texi | 9 + > libavcodec/h264_metadata_bsf.c | 90 > ++ > 2 files changed, 99 insertions(+) this breaks the mingw64 build LD ffmpeg_g.exe libavcodec

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/h264_slice: Fix overflow in recovery_frame computation

2018-06-08 Thread James Almer
On 6/8/2018 7:11 PM, Michael Niedermayer wrote: > Fixes: signed integer overflow: 15 + 2147483646 cannot be represented in type > 'int' > Fixes: > 8381/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H264_fuzzer-6225533137321984 > > Found-by: continuous fuzzing process > https://github.com/go

[FFmpeg-devel] [PATCH] libavfilter/boxblur_opencl filter.

2018-06-08 Thread Danil Iashchenko
--- Thanks, fixed. libavfilter/Makefile| 4 +- libavfilter/allfilters.c| 1 + libavfilter/boxblur.c | 105 + libavfilter/boxblur.h | 66 + libavfilter/vf_avgblur_opencl.c | 320 +++- libavfilter/

Re: [FFmpeg-devel] [PATCH 2/5] avutil/hwcontext_cuda: add CUstream in cuda hwctx

2018-06-08 Thread James Almer
On 5/9/2018 5:49 AM, Timo Rothenpieler wrote: > On 08.05.2018 23:00, James Almer wrote: >> On 5/8/2018 3:36 PM, Timo Rothenpieler wrote: >>> --- >>> configure | 6 -- >>> doc/APIchanges | 3 +++ >>> libavutil/hwcontext_cuda.c | 3 +++ >>> libavutil/hwcontext_cuda.h

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/h264_slice: Fix overflow in recovery_frame computation

2018-06-08 Thread James Almer
On 6/8/2018 8:12 PM, James Almer wrote: > On 6/8/2018 7:11 PM, Michael Niedermayer wrote: >> Fixes: signed integer overflow: 15 + 2147483646 cannot be represented in >> type 'int' >> Fixes: >> 8381/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H264_fuzzer-6225533137321984 >> >> Found-by: cont

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/h264_slice: Fix overflow in recovery_frame computation

2018-06-08 Thread James Almer
On 6/8/2018 11:23 PM, James Almer wrote: > On 6/8/2018 8:12 PM, James Almer wrote: >> On 6/8/2018 7:11 PM, Michael Niedermayer wrote: >>> Fixes: signed integer overflow: 15 + 2147483646 cannot be represented in >>> type 'int' >>> Fixes: >>> 8381/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_H

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

2018-06-08 Thread Paul B Mahol
On 6/9/18, Michael Niedermayer wrote: > Fixes: OOM > Fixes: > 8178/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_XWD_fuzzer-4844793342459904 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by: Michael Niedermayer > --- >