Re: [FFmpeg-devel] [PATCH v2] avformat/movenc: implicitly enable negative CTS offsets for ismv

2018-08-04 Thread Jan Ekström
On 7/29/18, Jan Ekström wrote: > ISMV lacks any sort of edit list support, as well as tfxd is > effectively the PTS of the fragment for most intents and purposes. > > Thus, if b-frames are requested without negative CTS offsets you > end up with N frames' worth of delay (tfxd PTS plus the CTS

[FFmpeg-devel] [PATCH 2/2] avcodec/scpr: Check for min > max in decompress_p()

2018-08-04 Thread Michael Niedermayer
Fixes: Timeout Fixes: 9342/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-4795990841229312 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/scpr.c | 3 +++ 1 file changed, 3

[FFmpeg-devel] [PATCH 1/2] avcodec/vp9: Check in decode_tiles() if there is data remaining

2018-08-04 Thread Michael Niedermayer
Fixes: Timeout Fixes: 9330/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_VP9_fuzzer-5707345857347584 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/vp9.c | 3 +++ 1 file changed, 3

Re: [FFmpeg-devel] [PATCH] lavfi: add lumakey_opencl filter

2018-08-04 Thread Mark Thompson
On 25/07/18 13:13, Danil Iashchenko wrote: > Add lumakey_opencl filter. Behaves like existing lumakey filter. > > --- > configure | 1 + > libavfilter/Makefile| 2 + > libavfilter/allfilters.c| 1 + > libavfilter/opencl/lumakey.cl | 43 +++ >

[FFmpeg-devel] [PATCH] http: only set filesize for 206 content-range

2018-08-04 Thread Robert Nagy
Growing files will return 416 with a current file size in content-range. However, FFmpeg incorrectly assumes this is the final file size. Fix this by only setting file size for 206 responses. --- libavformat/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [FFmpeg-devel] [PATCH 2/4] libavcodec: v4l2m2m: output AVDRMFrameDescriptor

2018-08-04 Thread Mark Thompson
On 04/08/18 01:40, Lukas Rusak wrote: > This allows for a zero-copy output by exporting the v4l2 buffer then wrapping > that buffer > in the AVDRMFrameDescriptor like it is done in rkmpp. > > This has been in use for quite some time with great success on many platforms > including: > - Amlogic

Re: [FFmpeg-devel] [PATCH 1/4] libavcodec: v4l2m2m: fix indentation and add M2MDEC_CLASS

2018-08-04 Thread Mark Thompson
On 04/08/18 01:40, Lukas Rusak wrote: > This just makes the M2MDEC_CLASS similar to how it is done in rkmpp. It looks > clean and has proper indentation > --- > libavcodec/v4l2_m2m_dec.c | 46 --- > 1 file changed, 24 insertions(+), 22 deletions(-) > > diff

[FFmpeg-devel] [PATCH] fix memory leak in frame_thread_encoder: occurs when close encoder without sending eof and receiving to end

2018-08-04 Thread lee ju
--- libavcodec/frame_thread_encoder.c | 17 + 1 file changed, 17 insertions(+) diff --git a/libavcodec/frame_thread_encoder.c b/libavcodec/frame_thread_encoder.c index 5ff3f7863c..55756c4c54 100644 --- a/libavcodec/frame_thread_encoder.c +++ b/libavcodec/frame_thread_encoder.c

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/aacpsdsp_template: Fix integer overflow in ps_stereo_interpolate_c()

2018-08-04 Thread Michael Niedermayer
On Sat, Jul 28, 2018 at 02:32:29PM +0200, Michael Niedermayer wrote: > Fixes: signed integer overflow: -1813244069 + -1407981383 cannot be > represented in type 'int' > Fixes: > 8823/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AAC_FIXED_fuzzer-5643295618236416 > > Found-by: continuous

Re: [FFmpeg-devel] [PATCH] avformat/flvenc: Check audio packet size

2018-08-04 Thread Michael Niedermayer
On Sat, Jul 28, 2018 at 03:16:09PM +0200, Michael Niedermayer wrote: > Fixes: Assertion failure > Fixes: assert_flvenc.c:941_1.swf > > Found-by: #CHEN HONGXU# > Signed-off-by: Michael Niedermayer > --- > libavformat/flvenc.c | 5 + > 1 file changed, 5 insertions(+) will apply [...] --

Re: [FFmpeg-devel] [PATCH 4/7] Adds gray floating-point pixel formats.

2018-08-04 Thread Michael Niedermayer
Hi On Sat, Aug 04, 2018 at 01:17:53AM +0300, Sergey Lavrushkin wrote: > 2018-08-04 0:11 GMT+03:00 Michael Niedermayer : > > > On Fri, Aug 03, 2018 at 10:33:00PM +0300, Sergey Lavrushkin wrote: > > > 2018-08-03 16:07 GMT+03:00 Michael Niedermayer : > > > > > > > On Thu, Aug 02, 2018 at 09:52:45PM

Re: [FFmpeg-devel] [PATCH 4/7] Adds gray floating-point pixel formats.

2018-08-04 Thread Reto Kromer
Sergey Lavrushkin wrote: >2018-08-03 16:07 GMT+03:00 Michael Niedermayer >: [...] >>division is slow. This should either be a multiplication with >>the inverse or a LUT with 8bit index changing to float. >> >>The faster of them should be used > >LUT seems to be faster. I am not surprised. In