[FFmpeg-devel] [PATCH] avcodec/wavpack: Fix integer overflow in FFABS

2018-01-30 Thread Michael Niedermayer
Fixes: negation of -2147483648 cannot be represented in type 'int'; cast to an unsigned type to negate this value to itself Fixes: 5396/clusterfuzz-testcase-minimized-655829281536 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg

[FFmpeg-devel] [PATCH] hwcontext_vaapi: add iHD open source driver.

2018-01-30 Thread Jun Zhao
Now FFmpeg-VAAPI work with iHD open source driver (https://github.com/intel/media-driver) initiatory. From 069611945880643aad6ffb5ea70b732f40bbb510 Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Wed, 31 Jan 2018 08:21:30 +0800 Subject: [PATCH] hwcontext_vaapi: add iHD open

Re: [FFmpeg-devel] [PATCH]: Change Stack Frame Limit in Cuda Context

2018-01-30 Thread Ben Chang
On Fri, Jan 26, 2018 at 3:10 PM, Mark Thompson wrote: > On 26/01/18 20:51, Ben Chang wrote: > > On Fri, Jan 26, 2018 at 3:32 AM, Mark Thompson wrote: > > > >> On 26/01/18 09:06, Ben Chang wrote: > >>> Thanks for the review Mark. > >>> > > To clarify, since it is

Re: [FFmpeg-devel] [FFmpeg-cvslog] avcodec/mpegaudio_parser: Skip APE tags when parsing mp3 packets.

2018-01-30 Thread Alexander Strasser
On 2018-01-30 04:29 +, Dale Curtis wrote: > ffmpeg | branch: master | Dale Curtis | Mon Jan 29 > 15:10:26 2018 -0800| [42323c3e3a600288e4bf1cefe952486ffc29d280] | committer: > Michael Niedermayer > > avcodec/mpegaudio_parser: Skip APE tags when parsing mp3 packets.

Re: [FFmpeg-devel] [PATCH] libavfilter: constify filter list

2018-01-30 Thread Mark Thompson
On 30/01/18 18:06, Muhammad Faiz wrote: > On Tue, Jan 30, 2018 at 9:09 PM, Mark Thompson wrote: >> On 30/01/18 07:24, Muhammad Faiz wrote: >>> Move REGISTER_FILTER to FILTER_TABLE in configure. >>> Auto generate filter extern and filter table. >>> Sort filter table, use bsearch on

Re: [FFmpeg-devel] [PATCH] id3v2: fix unsynchronization

2018-01-30 Thread Richard Shaffer
LGTM, for whatever my opinion is worth. Also easier to follow than the old code. -Richard On Tue, Jan 30, 2018 at 4:47 AM, wm4 wrote: > On Tue, 30 Jan 2018 13:43:25 +0100 > wm4 wrote: > >> The ID3v2 "unsynchronization scheme" requires replacing

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/dirac_dwt: Fix several integer overflows

2018-01-30 Thread Michael Niedermayer
On Fri, Jan 26, 2018 at 02:56:29AM +0100, Michael Niedermayer wrote: > Fixes: runtime error: signed integer overflow: -2146071175 + -268479557 > cannot be represented in type 'int' > Fixes: 5237/clusterfuzz-testcase-minimized-4569895275593728 > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/hevc_ps: Check log2_sao_offset_scale_*

2018-01-30 Thread Michael Niedermayer
On Wed, Jan 24, 2018 at 04:34:49AM +0100, Michael Niedermayer wrote: > Fixes: 4868/clusterfuzz-testcase-minimized-6236542906400768 > Fixes: runtime error: shift exponent 126 is too large for 32-bit type 'int' > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] [PATCH] libavfilter: constify filter list

2018-01-30 Thread Michael Niedermayer
On Tue, Jan 30, 2018 at 08:27:27PM +0700, Muhammad Faiz wrote: > On Tue, Jan 30, 2018 at 7:50 PM, Michael Niedermayer > wrote: > > On Tue, Jan 30, 2018 at 02:24:12PM +0700, Muhammad Faiz wrote: > >> Move REGISTER_FILTER to FILTER_TABLE in configure. > >> Auto generate

Re: [FFmpeg-devel] [PATCH 1/3] avformat/mov: Increase support for common encryption.

2018-01-30 Thread Jacob Trimble
On Wed, Jan 24, 2018 at 5:46 PM, Michael Niedermayer wrote: > On Wed, Jan 24, 2018 at 11:43:26AM -0800, Jacob Trimble wrote: >> On Mon, Jan 22, 2018 at 7:38 PM, Michael Niedermayer >> wrote >> > [...] >> >> This removes support for saio/saiz atoms,

Re: [FFmpeg-devel] [mp3] Skip APE tags when parsing mp3 packets.

2018-01-30 Thread Michael Niedermayer
On Tue, Jan 30, 2018 at 11:30:43AM -0300, James Almer wrote: > On 1/30/2018 2:45 AM, wm4 wrote: > > On Tue, 30 Jan 2018 02:24:29 +0100 > > Michael Niedermayer wrote: > > > >> On Mon, Jan 29, 2018 at 03:13:54PM -0800, Dale Curtis wrote: > >>> Otherwise the decoder will

Re: [FFmpeg-devel] [mp3] Skip APE tags when parsing mp3 packets.

2018-01-30 Thread Dale Curtis
On Tue, Jan 30, 2018 at 6:44 AM, wm4 wrote: > In theory we could have a flag that controls this (I thought there > actually was such a flag, but didn't find anything). If we ever find > that discarding data is a problem, maybe such a flag could be added. > > Also I still

Re: [FFmpeg-devel] [PATCH] libavfilter: constify filter list

2018-01-30 Thread Muhammad Faiz
On Tue, Jan 30, 2018 at 9:09 PM, Mark Thompson wrote: > On 30/01/18 07:24, Muhammad Faiz wrote: >> Move REGISTER_FILTER to FILTER_TABLE in configure. >> Auto generate filter extern and filter table. >> Sort filter table, use bsearch on avfilter_get_by_name. >> Define next pointer

Re: [FFmpeg-devel] [PATCH 4/5] avcodec/mediacodecdec: use ff_hevc_uninit_parameter_sets()

2018-01-30 Thread James Almer
On 1/20/2018 8:02 PM, James Almer wrote: > On 1/20/2018 8:00 PM, wm4 wrote: >> On Sat, 20 Jan 2018 18:12:52 -0300 >> James Almer wrote: >> >>> Signed-off-by: James Almer >>> --- >>> libavcodec/mediacodecdec.c | 2 ++ >>> 1 file changed, 2 insertions(+) >>>

Re: [FFmpeg-devel] [PATCH] avcodec/hevc_parser: use ff_hevc_decode_extradata() to parse extradata

2018-01-30 Thread James Almer
On 1/24/2018 12:48 PM, James Almer wrote: > On 1/20/2018 3:00 PM, James Almer wrote: >> On 1/20/2018 1:12 AM, James Almer wrote: >>> Signed-off-by: James Almer >>> --- >>> libavcodec/hevc_parser.c | 21 + >>> 1 file changed, 9 insertions(+), 12 deletions(-)

Re: [FFmpeg-devel] [mp3] Skip APE tags when parsing mp3 packets.

2018-01-30 Thread wm4
On Tue, 30 Jan 2018 11:30:43 -0300 James Almer wrote: > On 1/30/2018 2:45 AM, wm4 wrote: > > On Tue, 30 Jan 2018 02:24:29 +0100 > > Michael Niedermayer wrote: > > > >> On Mon, Jan 29, 2018 at 03:13:54PM -0800, Dale Curtis wrote: > >>> Otherwise

Re: [FFmpeg-devel] [PATCH] libavfilter: constify filter list

2018-01-30 Thread Mark Thompson
On 30/01/18 14:20, wm4 wrote: > On Tue, 30 Jan 2018 14:09:43 + > Mark Thompson wrote: > >> On 30/01/18 07:24, Muhammad Faiz wrote: >>> Move REGISTER_FILTER to FILTER_TABLE in configure. >>> Auto generate filter extern and filter table. >>> Sort filter table, use bsearch on

Re: [FFmpeg-devel] [mp3] Skip APE tags when parsing mp3 packets.

2018-01-30 Thread James Almer
On 1/30/2018 2:45 AM, wm4 wrote: > On Tue, 30 Jan 2018 02:24:29 +0100 > Michael Niedermayer wrote: > >> On Mon, Jan 29, 2018 at 03:13:54PM -0800, Dale Curtis wrote: >>> Otherwise the decoder will throw "Missing header" errors when the >>> packets are sent for decoding.

Re: [FFmpeg-devel] [PATCH] libavfilter: constify filter list

2018-01-30 Thread wm4
On Tue, 30 Jan 2018 14:09:43 + Mark Thompson wrote: > On 30/01/18 07:24, Muhammad Faiz wrote: > > Move REGISTER_FILTER to FILTER_TABLE in configure. > > Auto generate filter extern and filter table. > > Sort filter table, use bsearch on avfilter_get_by_name. > > Define next

Re: [FFmpeg-devel] [PATCH] libavfilter: constify filter list

2018-01-30 Thread Mark Thompson
On 30/01/18 07:24, Muhammad Faiz wrote: > Move REGISTER_FILTER to FILTER_TABLE in configure. > Auto generate filter extern and filter table. > Sort filter table, use bsearch on avfilter_get_by_name. > Define next pointer at filter extern, no need to initialize > next pointer at run time, so

Re: [FFmpeg-devel] [PATCH]lavc/exr: Ignore long names flag

2018-01-30 Thread Carl Eugen Hoyos
2018-01-30 13:16 GMT+01:00 Paul B Mahol : > On 1/30/18, Carl Eugen Hoyos wrote: >> 2018-01-30 10:30 GMT+01:00 Paul B Mahol : >>> On 1/30/18, Carl Eugen Hoyos wrote: Attached patch fixes ticket #6994, unknown

Re: [FFmpeg-devel] [PATCH] libavfilter: constify filter list

2018-01-30 Thread wm4
On Tue, 30 Jan 2018 20:16:50 +0700 Muhammad Faiz wrote: > On Tue, Jan 30, 2018 at 2:58 PM, wm4 wrote: > > On Tue, 30 Jan 2018 14:24:12 +0700 > > Muhammad Faiz wrote: > > > >> Move REGISTER_FILTER to FILTER_TABLE in configure. > >>

Re: [FFmpeg-devel] [PATCH] libavfilter: constify filter list

2018-01-30 Thread Muhammad Faiz
On Tue, Jan 30, 2018 at 7:50 PM, Michael Niedermayer wrote: > On Tue, Jan 30, 2018 at 02:24:12PM +0700, Muhammad Faiz wrote: >> Move REGISTER_FILTER to FILTER_TABLE in configure. >> Auto generate filter extern and filter table. >> Sort filter table, use bsearch on

Re: [FFmpeg-devel] [PATCH] libavfilter: constify filter list

2018-01-30 Thread Muhammad Faiz
On Tue, Jan 30, 2018 at 2:58 PM, wm4 wrote: > On Tue, 30 Jan 2018 14:24:12 +0700 > Muhammad Faiz wrote: > >> Move REGISTER_FILTER to FILTER_TABLE in configure. >> Auto generate filter extern and filter table. >> Sort filter table, use bsearch on

Re: [FFmpeg-devel] [PATCH] libavfilter: constify filter list

2018-01-30 Thread Muhammad Faiz
On Tue, Jan 30, 2018 at 4:47 PM, Carl Eugen Hoyos wrote: > 2018-01-30 8:24 GMT+01:00 Muhammad Faiz : > >> +UNCONDITIONAL_FILTER_TABLE=" >> +abuffer asrc >> +buffer vsrc >> +abuffersink asink >> +buffersink vsink >> +afifo

Re: [FFmpeg-devel] [PATCH] libavfilter: constify filter list

2018-01-30 Thread wm4
On Tue, 30 Jan 2018 13:50:37 +0100 Michael Niedermayer wrote: > On Tue, Jan 30, 2018 at 02:24:12PM +0700, Muhammad Faiz wrote: > > Move REGISTER_FILTER to FILTER_TABLE in configure. > > Auto generate filter extern and filter table. > > Sort filter table, use bsearch on

Re: [FFmpeg-devel] [PATCH] libavfilter: constify filter list

2018-01-30 Thread Michael Niedermayer
On Tue, Jan 30, 2018 at 02:24:12PM +0700, Muhammad Faiz wrote: > Move REGISTER_FILTER to FILTER_TABLE in configure. > Auto generate filter extern and filter table. > Sort filter table, use bsearch on avfilter_get_by_name. > Define next pointer at filter extern, no need to initialize > next pointer

Re: [FFmpeg-devel] [PATCH] id3v2: fix unsynchronization

2018-01-30 Thread wm4
On Tue, 30 Jan 2018 13:43:25 +0100 wm4 wrote: > The ID3v2 "unsynchronization scheme" requires replacing any 0xFF 0x00 > sequences with 0xFF. This has to be done on every byte of the source > data, while the current code skipped a byte after a replacement. This > meant 0xFF

[FFmpeg-devel] [PATCH] id3v2: fix unsynchronization

2018-01-30 Thread wm4
The ID3v2 "unsynchronization scheme" requires replacing any 0xFF 0x00 sequences with 0xFF. This has to be done on every byte of the source data, while the current code skipped a byte after a replacement. This meant 0xFF 0x00 0xFF 00 was translated to 0xFF 0xFF 0x00 instead of 0xFF 0xFF. It feels a

[FFmpeg-devel] [PATCH] avformat/opensrt: add Haivision Open SRT protocol

2018-01-30 Thread Nablet Developer
protocol requires libsrt (https://github.com/Haivision/srt) to be installed Signed-off-by: Nablet Developer --- MAINTAINERS | 1 + configure | 9 + doc/protocols.texi | 116 + libavformat/Makefile| 1 + libavformat/opensrt.c |

Re: [FFmpeg-devel] [PATCH]lavc/exr: Ignore long names flag

2018-01-30 Thread Paul B Mahol
On 1/30/18, Carl Eugen Hoyos wrote: > 2018-01-30 10:30 GMT+01:00 Paul B Mahol : >> On 1/30/18, Carl Eugen Hoyos wrote: >>> >>> Attached patch fixes ticket #6994, unknown tag names are >>> ignored by FFmpeg. >> >> Really? Are you sure this

Re: [FFmpeg-devel] [PATCH] Remove battleforthenet widget

2018-01-30 Thread Michael Niedermayer
On Tue, Jan 30, 2018 at 11:05:29AM +, Ricardo Constantino wrote: > --- > src/template_head2 | 23 --- > 1 file changed, 23 deletions(-) applied i dont understand why this did not disable itself at the end of the campaign. It should have disabled itself Thanks [...] --

Re: [FFmpeg-devel] [PATCH] Remove battleforthenet widget

2018-01-30 Thread wm4
On Tue, 30 Jan 2018 11:05:29 + Ricardo Constantino wrote: > --- > src/template_head2 | 23 --- > 1 file changed, 23 deletions(-) > > diff --git a/src/template_head2 b/src/template_head2 > index 71daf07..a0b11ab 100644 > --- a/src/template_head2 > +++

[FFmpeg-devel] [PATCH] Remove battleforthenet widget

2018-01-30 Thread Ricardo Constantino
--- src/template_head2 | 23 --- 1 file changed, 23 deletions(-) diff --git a/src/template_head2 b/src/template_head2 index 71daf07..a0b11ab 100644 --- a/src/template_head2 +++ b/src/template_head2 @@ -3,29 +3,6 @@

Re: [FFmpeg-devel] [PATCH] libavfilter: constify filter list

2018-01-30 Thread Carl Eugen Hoyos
2018-01-30 8:24 GMT+01:00 Muhammad Faiz : > +UNCONDITIONAL_FILTER_TABLE=" > +abuffer asrc > +buffer vsrc > +abuffersink asink > +buffersink vsink > +afifo af > +fifovf Why are these unconditional now? Carl Eugen

Re: [FFmpeg-devel] [PATCH]lavc/exr: Ignore long names flag

2018-01-30 Thread Carl Eugen Hoyos
2018-01-30 10:30 GMT+01:00 Paul B Mahol : > On 1/30/18, Carl Eugen Hoyos wrote: >> >> Attached patch fixes ticket #6994, unknown tag names are >> ignored by FFmpeg. > > Really? Are you sure this does not cause not decoding previously > decodable files? Could

Re: [FFmpeg-devel] [PATCH]lavc/exr: Ignore long names flag

2018-01-30 Thread Paul B Mahol
On 1/30/18, Carl Eugen Hoyos wrote: > Hi! > > Attached patch fixes ticket #6994, unknown tag names are ignored by FFmpeg. > > Please comment, Carl Eugen > Really? Are you sure this does not cause not decoding previously decodable files?

[FFmpeg-devel] [PATCH]lavc/exr: Ignore long names flag

2018-01-30 Thread Carl Eugen Hoyos
Hi! Attached patch fixes ticket #6994, unknown tag names are ignored by FFmpeg. Please comment, Carl Eugen From 19f1896fc182f2bc8d1c715883ab40aaf17fc828 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Tue, 30 Jan 2018 10:24:08 +0100 Subject: [PATCH] lavc/exr: Ignore