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

2017-07-01 Thread Ashish Singh
This patch fixes most of the styling and coding issues of the previous VMAF patches. --- configure| 5 + libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_vmaf.c| 400 +++ 4 files changed, 407 inse

[FFmpeg-devel] [PATCH 3/3] avcodec/aacpsdsp_template: Fixes integer overflow in ps_add_squares_c()

2017-07-01 Thread Michael Niedermayer
Fixes: runtime error: signed integer overflow: 1965219850 + 995792909 cannot be represented in type 'int' Fixes: part of 2096/clusterfuzz-testcase-minimized-4901566068817920 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael

[FFmpeg-devel] [PATCH 2/3] avcodec/sbrdsp_fixed: Fix integer overflow in sbr_hf_apply_noise()

2017-07-01 Thread Michael Niedermayer
Fixes: runtime error: signed integer overflow: -2049425300 + -117591631 cannot be represented in type 'int' Fixes: part of 2096/clusterfuzz-testcase-minimized-4901566068817920 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Micha

[FFmpeg-devel] [PATCH 1/3] avcodec/aacdec_template: Fix undefined integer overflow in apply_tns()

2017-07-01 Thread Michael Niedermayer
Fixes: runtime error: signed integer overflow: -2147483648 - 1202286525 cannot be represented in type 'int' Fixes: 2071/clusterfuzz-testcase-minimized-6036414271586304 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niede

[FFmpeg-devel] [PATCH] avcodec/htmlsubtitles: Be a bit more picky on syntax

2017-07-01 Thread Michael Niedermayer
This reduces the number of strstr() calls per byte This diasalows empty tags like '< >' as well as '<' in tags like '' Fixes timeout Fixes: 1817/clusterfuzz-testcase-minimized-5104230530547712 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Sig

Re: [FFmpeg-devel] [PATCH] avcodec/htmlsubtitles: Be a bit more picky on syntax

2017-07-01 Thread Michael Niedermayer
On Fri, May 26, 2017 at 01:08:54PM +0200, wm4 wrote: > On Thu, 25 May 2017 19:32:06 +0200 > Michael Niedermayer wrote: > > > This reduces the number of strstr() calls per byte > > > > Fixes timeout > > Fixes: 1817/clusterfuzz-testcase-minimized-5104230530547712 > > > > Found-by: continuous fuzz

[FFmpeg-devel] [PATCH] avcodec/alsdec: remove unused header

2017-07-01 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/alsdec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c index 31e95e2..ac59885 100644 --- a/libavcodec/alsdec.c +++ b/libavcodec/alsdec.c @@ -31,7 +31,6 @@ #include "get_bits.h" #include "unary.h" #include

[FFmpeg-devel] [PATCH] avcodec/als: use planar sample formats

2017-07-01 Thread Paul B Mahol
This is native layout of this codec. Signed-off-by: Paul B Mahol --- libavcodec/alsdec.c | 23 +-- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c index 4a8f13d..31e95e2 100644 --- a/libavcodec/alsdec.c +++ b/libavcode

[FFmpeg-devel] [PATCH 2/2] avcodec/alsdec: call correct function for multi-channel coding

2017-07-01 Thread Paul B Mahol
Fixes #5942. Signed-off-by: Paul B Mahol --- libavcodec/alsdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c index ac59885..000a61d 100644 --- a/libavcodec/alsdec.c +++ b/libavcodec/alsdec.c @@ -1616,9 +1616,9 @@ static int re

[FFmpeg-devel] [PATCH] avcodec/als: use planar sample formats

2017-07-01 Thread Paul B Mahol
This is native layout of this codec. Signed-off-by: Paul B Mahol --- libavcodec/alsdec.c | 23 +-- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/libavcodec/alsdec.c b/libavcodec/alsdec.c index 4a8f13d..31e95e2 100644 --- a/libavcodec/alsdec.c +++ b/libavcode

Re: [FFmpeg-devel] [PATCH] avcodec/mlz: simplify

2017-07-01 Thread Paul B Mahol
On 7/1/17, Thilo Borgmann wrote: > Am 01.07.17 um 14:42 schrieb Paul B Mahol: >> On 7/1/17, Michael Niedermayer wrote: >>> On Sat, Jul 01, 2017 at 02:18:17PM +0200, Paul B Mahol wrote: On 7/1/17, Michael Niedermayer wrote: > On Sat, Jul 01, 2017 at 12:05:52PM +0200, Paul B Mahol wrote:

Re: [FFmpeg-devel] [PATCH] avcodec/alsdec: properly allocate raw_buffer

2017-07-01 Thread Thilo Borgmann
Am 01.07.17 um 14:23 schrieb Michael Niedermayer: > On Sat, Jul 01, 2017 at 03:38:21AM +0200, Paul B Mahol wrote: >> This also reverts 18f94df8. >> >> Fixes #5297. >> >> Signed-off-by: Paul B Mahol >> --- >> libavcodec/alsdec.c | 7 +-- >> 1 file changed, 1 insertion(+), 6 deletions(-) > > T

Re: [FFmpeg-devel] [PATCH] avcodec/mlz: simplify

2017-07-01 Thread Thilo Borgmann
Am 01.07.17 um 14:42 schrieb Paul B Mahol: > On 7/1/17, Michael Niedermayer wrote: >> On Sat, Jul 01, 2017 at 02:18:17PM +0200, Paul B Mahol wrote: >>> On 7/1/17, Michael Niedermayer wrote: On Sat, Jul 01, 2017 at 12:05:52PM +0200, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol >

[FFmpeg-devel] [PATCH 0.5/5] lavf: Remove codec_tag from dashend and smoothstreamingenc

2017-07-01 Thread Derek Buitenhuis
From: Martin Storsjö Skip the codec_tag altogether here, to let the user (try to) set whichever codec/tag he wants; the individual chained muxer will reject invalid codecs anyway. Signed-off-by: Derek Buitenhuis --- libavformat/dashenc.c| 1 - libavformat/smoothstreamingenc.c | 1 -

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/s302m: fix AVOption flags

2017-07-01 Thread James Almer
On 6/27/2017 7:10 AM, Paul B Mahol wrote: > On 6/27/17, foo86 wrote: >> --- >> libavcodec/s302m.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > lgtm Pushed. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman

Re: [FFmpeg-devel] [PATCH] win32_dlfcn: Support WinRT/UWP.

2017-07-01 Thread Matt Oliver
On 2 July 2017 at 00:14, Hendrik Leppkes wrote: > On Sat, Jul 1, 2017 at 3:18 PM, Matt Oliver wrote: > > This only enables dlls that are packaged with the application to be > > loaded. Due to the limitations of WinRT/UWP it is not allowed to load > > external/system dlls so this cannot be used a

Re: [FFmpeg-devel] [PATCH] win32_dlfcn: Support WinRT/UWP.

2017-07-01 Thread Hendrik Leppkes
On Sat, Jul 1, 2017 at 3:18 PM, Matt Oliver wrote: > This only enables dlls that are packaged with the application to be > loaded. Due to the limitations of WinRT/UWP it is not allowed to load > external/system dlls so this cannot be used as a complete replacement > for normal win32 dll loading.

Re: [FFmpeg-devel] [PATCH] vdpau: do not use buggy HEVC support by default

2017-07-01 Thread Philip Langdale
On Sat, 1 Jul 2017 11:40:38 +0200 wm4 wrote: > NVIDIA broke its own API when using VDPAU decoding. If you retrieve > the decoded YUV data, or if you map the surfaces with GL interop, the > result are interlacing artifacts. The only way to get non-broken data > is by using the vdpau video mixer t

[FFmpeg-devel] [PATCH v2 1/2] avcodec: add Dolby E decoder

2017-07-01 Thread foo86
--- configure | 1 + doc/general.texi| 1 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/avcodec.h| 1 + libavcodec/codec_desc.c | 7 + libavcodec/dolby_e.c| 707 ++ libavcodec/dolby_e

[FFmpeg-devel] [PATCH v2 2/2] avformat: add SMPTE 337M demuxer

2017-07-01 Thread foo86
--- Changelog| 1 + doc/general.texi | 1 + libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/s337m.c | 206 +++ libavformat/version.h| 2 +- 6 files changed, 211 insertions(+), 1 delet

[FFmpeg-devel] [PATCH] win32_dlfcn: Support WinRT/UWP.

2017-07-01 Thread Matt Oliver
This only enables dlls that are packaged with the application to be loaded. Due to the limitations of WinRT/UWP it is not allowed to load external/system dlls so this cannot be used as a complete replacement for normal win32 dll loading. --- compat/w32dlfcn.h | 9 - 1 file changed, 8 inser

Re: [FFmpeg-devel] [PATCH] avcodec/mlz: simplify

2017-07-01 Thread Paul B Mahol
On 7/1/17, Michael Niedermayer wrote: > On Sat, Jul 01, 2017 at 02:18:17PM +0200, Paul B Mahol wrote: >> On 7/1/17, Michael Niedermayer wrote: >> > On Sat, Jul 01, 2017 at 12:05:52PM +0200, Paul B Mahol wrote: >> >> Signed-off-by: Paul B Mahol >> >> --- >> >> libavcodec/mlz.c | 7 +-- >> >>

Re: [FFmpeg-devel] [PATCH] avcodec/mlz: simplify

2017-07-01 Thread Michael Niedermayer
On Sat, Jul 01, 2017 at 02:18:17PM +0200, Paul B Mahol wrote: > On 7/1/17, Michael Niedermayer wrote: > > On Sat, Jul 01, 2017 at 12:05:52PM +0200, Paul B Mahol wrote: > >> Signed-off-by: Paul B Mahol > >> --- > >> libavcodec/mlz.c | 7 +-- > >> 1 file changed, 1 insertion(+), 6 deletions(-)

Re: [FFmpeg-devel] [PATCH] avcodec/alsdec: properly allocate raw_buffer

2017-07-01 Thread Michael Niedermayer
On Sat, Jul 01, 2017 at 03:38:21AM +0200, Paul B Mahol wrote: > This also reverts 18f94df8. > > Fixes #5297. > > Signed-off-by: Paul B Mahol > --- > libavcodec/alsdec.c | 7 +-- > 1 file changed, 1 insertion(+), 6 deletions(-) This avoids the crash with the sample, i will leave review to t

Re: [FFmpeg-devel] [PATCH] avcodec/mlz: simplify

2017-07-01 Thread Paul B Mahol
On 7/1/17, Michael Niedermayer wrote: > On Sat, Jul 01, 2017 at 12:05:52PM +0200, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> libavcodec/mlz.c | 7 +-- >> 1 file changed, 1 insertion(+), 6 deletions(-) >> >> diff --git a/libavcodec/mlz.c b/libavcodec/mlz.c >> index ebce796..

Re: [FFmpeg-devel] [PATCH] avcodec/mlz: simplify

2017-07-01 Thread Michael Niedermayer
On Sat, Jul 01, 2017 at 12:05:52PM +0200, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavcodec/mlz.c | 7 +-- > 1 file changed, 1 insertion(+), 6 deletions(-) > > diff --git a/libavcodec/mlz.c b/libavcodec/mlz.c > index ebce796..715ea5c 100644 > --- a/libavcodec/mlz.c > +++ b

[FFmpeg-devel] [PATCH] avfomat/hlsenc: support fmp4 format in hls

2017-07-01 Thread Steven Liu
add the fmp4 format into hlsenc because the fmp4 format add into hls from version 7. the spec link is: https://tools.ietf.org/html/draft-pantos-http-live-streaming-20 and the describe on WWDC https://developer.apple.com/videos/play/wwdc2017/515/ Signed-off-by: Steven Liu --- doc/muxers.texi

[FFmpeg-devel] [PATCH] avcodec/mlz: simplify

2017-07-01 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/mlz.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/libavcodec/mlz.c b/libavcodec/mlz.c index ebce796..715ea5c 100644 --- a/libavcodec/mlz.c +++ b/libavcodec/mlz.c @@ -112,12 +112,7 @@ static int decode_string(MLZ* mlz, unsign

[FFmpeg-devel] [PATCH] vdpau: do not use buggy HEVC support by default

2017-07-01 Thread wm4
NVIDIA broke its own API when using VDPAU decoding. If you retrieve the decoded YUV data, or if you map the surfaces with GL interop, the result are interlacing artifacts. The only way to get non-broken data is by using the vdpau video mixer to convert it to RGB. There is no way to block the non-wo