Re: [FFmpeg-devel] libavcodec : add psd image file decoder

2016-12-13 Thread Paul B Mahol
On 12/14/16, Michael Niedermayer wrote: > On Tue, Dec 13, 2016 at 10:23:48PM +0100, Martin Vignali wrote: >> 2016-11-24 21:35 GMT+01:00 Martin Vignali : >> >> > Hello >> > >> > New patchs in attach >> > >> > I changed the dimensions check, the check is now : >> > --

Re: [FFmpeg-devel] [PATCH 1/3] omadec: fix overflows during bit rate calculation

2016-12-13 Thread Paul B Mahol
On 12/14/16, Andreas Cadhalpun wrote: > On 13.12.2016 08:11, Paul B Mahol wrote: >> On 12/13/16, Andreas Cadhalpun wrote: >>> Signed-off-by: Andreas Cadhalpun >>> --- >>> libavformat/omadec.c | 4 ++-- >>> 1 file changed, 2 insertions(+), 2 deletions(-) >>> >>> diff --git a/libavformat/omadec.c

Re: [FFmpeg-devel] [PATCH 3/3] mov: prevent overflow during bit rate calculation

2016-12-13 Thread Michael Niedermayer
On Wed, Dec 14, 2016 at 01:58:35AM +0100, Andreas Cadhalpun wrote: > Signed-off-by: Andreas Cadhalpun > --- > libavformat/mov.c | 15 ++- > 1 file changed, 14 insertions(+), 1 deletion(-) > > diff --git a/libavformat/mov.c b/libavformat/mov.c > index 6c8affc..fc0b25c 100644 > --- a/l

Re: [FFmpeg-devel] [PATCH 1/3] 4xm: prevent overflow during bit rate calculation

2016-12-13 Thread Michael Niedermayer
On Wed, Dec 14, 2016 at 01:57:54AM +0100, Andreas Cadhalpun wrote: > Signed-off-by: Andreas Cadhalpun > --- > libavformat/4xm.c | 8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) LGTM thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Many things

Re: [FFmpeg-devel] libavcodec : add psd image file decoder

2016-12-13 Thread Michael Niedermayer
On Tue, Dec 13, 2016 at 10:23:48PM +0100, Martin Vignali wrote: > 2016-11-24 21:35 GMT+01:00 Martin Vignali : > > > Hello > > > > New patchs in attach > > > > I changed the dimensions check, the check is now : > > > > if ((s->height > 3) && (s->avctx->s

[FFmpeg-devel] [PATCH] lavc/vaapi_encode_h264: add option to indicate the h264 encode profile

2016-12-13 Thread Jun Zhao
From 03030392ec2458679cdfb14802b80cbb196eae40 Mon Sep 17 00:00:00 2001 From: Yi A Wang Date: Tue, 13 Dec 2016 10:50:54 +0800 Subject: [PATCH] lavc/vaapi_encode_h264: add option to indicate the h264 encode profile add h264 encode profile option and update the docs, for avc constrained baseline, d

Re: [FFmpeg-devel] [PATCH 1/3] 4xm: prevent overflow during bit rate calculation

2016-12-13 Thread Ronald S. Bultje
Hi, On Tue, Dec 13, 2016 at 8:21 PM, Andreas Cadhalpun < andreas.cadhal...@googlemail.com> wrote: > On 14.12.2016 02:01, Ronald S. Bultje wrote: > > Hi, > > > > On Tue, Dec 13, 2016 at 7:57 PM, Andreas Cadhalpun < > > andreas.cadhal...@googlemail.com> wrote: > > > >> Signed-off-by: Andreas Cadhal

Re: [FFmpeg-devel] [PATCH 1/3] 4xm: prevent overflow during bit rate calculation

2016-12-13 Thread Andreas Cadhalpun
On 14.12.2016 02:01, Ronald S. Bultje wrote: > Hi, > > On Tue, Dec 13, 2016 at 7:57 PM, Andreas Cadhalpun < > andreas.cadhal...@googlemail.com> wrote: > >> Signed-off-by: Andreas Cadhalpun >> --- >> libavformat/4xm.c | 8 +++- >> 1 file changed, 7 insertions(+), 1 deletion(-) >> >> diff --g

Re: [FFmpeg-devel] [PATCH 1/3] 4xm: prevent overflow during bit rate calculation

2016-12-13 Thread Ronald S. Bultje
Hi, On Tue, Dec 13, 2016 at 7:57 PM, Andreas Cadhalpun < andreas.cadhal...@googlemail.com> wrote: > Signed-off-by: Andreas Cadhalpun > --- > libavformat/4xm.c | 8 +++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git a/libavformat/4xm.c b/libavformat/4xm.c > index 8a50778..2

[FFmpeg-devel] [PATCH 2/3] cafdec: prevent overflow during bit rate calculation

2016-12-13 Thread Andreas Cadhalpun
Signed-off-by: Andreas Cadhalpun --- libavformat/cafdec.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libavformat/cafdec.c b/libavformat/cafdec.c index 1c4ca40..0e6179a 100644 --- a/libavformat/cafdec.c +++ b/libavformat/cafdec.c @@ -323,8 +323,13 @@ static int re

[FFmpeg-devel] [PATCH 3/3] mov: prevent overflow during bit rate calculation

2016-12-13 Thread Andreas Cadhalpun
Signed-off-by: Andreas Cadhalpun --- libavformat/mov.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 6c8affc..fc0b25c 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -5887,8 +5887,15 @@ static int mov_read

[FFmpeg-devel] [PATCH 1/3] 4xm: prevent overflow during bit rate calculation

2016-12-13 Thread Andreas Cadhalpun
Signed-off-by: Andreas Cadhalpun --- libavformat/4xm.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libavformat/4xm.c b/libavformat/4xm.c index 8a50778..2758b69 100644 --- a/libavformat/4xm.c +++ b/libavformat/4xm.c @@ -163,6 +163,12 @@ static int parse_strk(AVFormat

Re: [FFmpeg-devel] [PATCH 1/3] Revert "avcodec: Add max_pixels options"

2016-12-13 Thread Andreas Cadhalpun
On 13.12.2016 16:41, Michael Niedermayer wrote: > On Sun, Dec 11, 2016 at 10:38:44PM -0500, compn wrote: >> On Sun, 11 Dec 2016 17:39:58 +0100 >> Nicolas George wrote: >> >>> This reverts commit 2f07830e69bd14eaba348eb739b9503e7eb7cd4b. >> >> would you rather the people doing the fuzzing use this

Re: [FFmpeg-devel] [PATCH 2/3] avformat: fix overflows during bit rate calculation

2016-12-13 Thread Andreas Cadhalpun
On 13.12.2016 08:14, Paul B Mahol wrote: > On 12/13/16, Andreas Cadhalpun wrote: >> The bit_rate field has type int64_t since commit >> 7404f3bdb90e6a5dcb59bc0a091e2c5c038e557d. >> >> Signed-off-by: Andreas Cadhalpun >> --- >> libavformat/adxdec.c | 2 +- >> libavformat/aiffdec.c

Re: [FFmpeg-devel] [PATCH 1/3] omadec: fix overflows during bit rate calculation

2016-12-13 Thread Andreas Cadhalpun
On 13.12.2016 08:11, Paul B Mahol wrote: > On 12/13/16, Andreas Cadhalpun wrote: >> Signed-off-by: Andreas Cadhalpun >> --- >> libavformat/omadec.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/libavformat/omadec.c b/libavformat/omadec.c >> index 6e476db..e7751d

Re: [FFmpeg-devel] [PATCH] swresample/resample: remove swri_resample function

2016-12-13 Thread Muhammad Faiz
On 12/14/16, Michael Niedermayer wrote: > On Wed, Dec 14, 2016 at 01:36:51AM +0700, Muhammad Faiz wrote: >> integrate it inside multiple_resample >> allow some calculations to be performed outside loop >> >> Suggested-By: Michael Niedermayer >> Signed-off-by: Muhammad Faiz >> --- >> libswresamp

Re: [FFmpeg-devel] [PATCH 3/3] tiff: fix overflows when calling av_readuce

2016-12-13 Thread Andreas Cadhalpun
On 13.12.2016 01:32, Michael Niedermayer wrote: > On Tue, Dec 13, 2016 at 12:50:19AM +0100, Andreas Cadhalpun wrote: >> The arguments of av_reduce are signed, so the cast to uint64_t is misleading. >> >> Signed-off-by: Andreas Cadhalpun >> --- >> libavcodec/tiff.c | 11 +-- >> 1 file chan

Re: [FFmpeg-devel] [PATCH] swresample/resample: remove swri_resample function

2016-12-13 Thread Michael Niedermayer
On Wed, Dec 14, 2016 at 01:36:51AM +0700, Muhammad Faiz wrote: > integrate it inside multiple_resample > allow some calculations to be performed outside loop > > Suggested-By: Michael Niedermayer > Signed-off-by: Muhammad Faiz > --- > libswresample/resample.c | 79 > +--

Re: [FFmpeg-devel] libavcodec : add psd image file decoder

2016-12-13 Thread Martin Vignali
2016-11-24 21:35 GMT+01:00 Martin Vignali : > Hello > > New patchs in attach > > I changed the dimensions check, the check is now : > > if ((s->height > 3) && (s->avctx->strict_std_compliance > > FF_COMPLIANCE_EXPERIMENTAL)) { > av_log(s->avctx,

Re: [FFmpeg-devel] [PATCH v3] avformat/rtsp: introduce get_sa_len() function

2016-12-13 Thread Michael Niedermayer
On Fri, Nov 25, 2016 at 03:17:22PM +0800, Kevin Lo wrote: > Since the Linux implementation of sockaddr doesn't have sa_len as a member, > but the FreeBSD version does, introduce a get_sa_len() function that > determines the size based on the address family. > > Signed-off-by: Kevin Lo > --- > >

Re: [FFmpeg-devel] ARM fate

2016-12-13 Thread Thilo Borgmann
Am 12.12.16 um 22:18 schrieb Michael Niedermayer: > Hi all > > The panda arm board iam using as fate client for fate.ffmpeg.org seems > not really able to handle the load. > Iam not sure why, but increasing number of fate tests, branches it > tests and compiler/option cases probably are the primar

Re: [FFmpeg-devel] [PATCH] Save FFmpeg colorspace info in openh264 video files.

2016-12-13 Thread Michael Niedermayer
On Fri, Dec 09, 2016 at 01:15:14PM -0500, Gregory J. Wolfe wrote: > As of version 1.6, libopenh264 saves (in the output video file) > information about the color primaries, transfer characteristics, > and color matrix used when the video pixel data was created. > This patch sets the required libope

Re: [FFmpeg-devel] [PATCH] Allow client to enable/disable openh264 load balancing.

2016-12-13 Thread Michael Niedermayer
On Thu, Dec 01, 2016 at 03:52:55PM -0500, Gregory J. Wolfe wrote: > The libopenh264 library allows the client to enable or disable > load balancing when running multi-threaded. When enabled, the > slice sizes are dynamically adjusted in order to use the > multiple threads more efficiently. Howeve

Re: [FFmpeg-devel] [PATCH] libvpxenc: Don't spam level errors for VP8 encodes

2016-12-13 Thread Alex Converse
On Mon, Dec 12, 2016 at 2:41 PM, James Zern wrote: > On Mon, Dec 12, 2016 at 12:12 PM, Alex Converse > wrote: >> Fixes "Failed to set VP9E_GET_LEVEL codec control: Codec does not >> implement requested capability" log messages on VP8 encodes. >> --- >> libavcodec/libvpxenc.c | 3 ++- >> 1 file

[FFmpeg-devel] [PATCH] swresample/resample: remove swri_resample function

2016-12-13 Thread Muhammad Faiz
integrate it inside multiple_resample allow some calculations to be performed outside loop Suggested-By: Michael Niedermayer Signed-off-by: Muhammad Faiz --- libswresample/resample.c | 79 +--- 1 file changed, 35 insertions(+), 44 deletions(-) diff -

Re: [FFmpeg-devel] [PATCH] swresample/resample: do not allow negative dst_size return value

2016-12-13 Thread Muhammad Faiz
On 12/14/16, Michael Niedermayer wrote: > On Tue, Dec 13, 2016 at 11:15:30PM +0700, Muhammad Faiz wrote: >> On 12/13/16, Michael Niedermayer wrote: >> > On Tue, Dec 13, 2016 at 02:16:03PM +0700, Muhammad Faiz wrote: >> >> This should fix Ticket6012 >> >> >> >> Signed-off-by: Muhammad Faiz >> >>

Re: [FFmpeg-devel] [PATCH] swresample/resample: do not allow negative dst_size return value

2016-12-13 Thread Michael Niedermayer
On Tue, Dec 13, 2016 at 11:15:30PM +0700, Muhammad Faiz wrote: > On 12/13/16, Michael Niedermayer wrote: > > On Tue, Dec 13, 2016 at 02:16:03PM +0700, Muhammad Faiz wrote: > >> This should fix Ticket6012 > >> > >> Signed-off-by: Muhammad Faiz > >> --- > >> libswresample/resample.c | 7 --- >

Re: [FFmpeg-devel] [PATCH] swresample/resample: do not allow negative dst_size return value

2016-12-13 Thread Muhammad Faiz
On 12/13/16, Michael Niedermayer wrote: > On Tue, Dec 13, 2016 at 02:16:03PM +0700, Muhammad Faiz wrote: >> This should fix Ticket6012 >> >> Signed-off-by: Muhammad Faiz >> --- >> libswresample/resample.c | 7 --- >> 1 file changed, 4 insertions(+), 3 deletions(-) >> >> diff --git a/libswres

Re: [FFmpeg-devel] [PATCH 1/3] Revert "avcodec: Add max_pixels options"

2016-12-13 Thread Michael Niedermayer
On Sun, Dec 11, 2016 at 10:38:44PM -0500, compn wrote: > On Sun, 11 Dec 2016 17:39:58 +0100 > Nicolas George wrote: > > > This reverts commit 2f07830e69bd14eaba348eb739b9503e7eb7cd4b. > > would you rather the people doing the fuzzing use this feature as a > separate patch so it does not contamin

Re: [FFmpeg-devel] [PATCH 1/2] avformat/options_table: Set the default maximum number of streams to 1000

2016-12-13 Thread Michael Niedermayer
On Tue, Dec 13, 2016 at 12:33:09AM +0100, Andreas Cadhalpun wrote: > On 10.12.2016 20:15, Michael Niedermayer wrote: > > Fixes CVE-2016-9561 > > I think the commit message should mention that the security relevance of > this is disputed, as running out of memory can happen with valid files. chang

Re: [FFmpeg-devel] [PATCH] swresample/resample: do not allow negative dst_size return value

2016-12-13 Thread Michael Niedermayer
On Tue, Dec 13, 2016 at 02:16:03PM +0700, Muhammad Faiz wrote: > This should fix Ticket6012 > > Signed-off-by: Muhammad Faiz > --- > libswresample/resample.c | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/libswresample/resample.c b/libswresample/resample.c > ind

Re: [FFmpeg-devel] [PATCH] ffmpeg: add ffmpeg_d3d11va

2016-12-13 Thread wm4
On Tue, 13 Dec 2016 14:19:35 +0100 Steve Lhomme wrote: > From: Steve Lhomme > > The code is similar to ffmpeg_dxva2. The decoded output needs to be copied > into > a staging texture that can be accessed by the CPU as the decoder texture can't > be accessed by the CPU. > --- > Makefile

[FFmpeg-devel] [PATCH] ffmpeg: add ffmpeg_d3d11va

2016-12-13 Thread Steve Lhomme
From: Steve Lhomme The code is similar to ffmpeg_dxva2. The decoded output needs to be copied into a staging texture that can be accessed by the CPU as the decoder texture can't be accessed by the CPU. --- Makefile | 1 + configure | 14 ++ ffmpeg.h

[FFmpeg-devel] [PATCH] configure: use -O1 with MSVC by default

2016-12-13 Thread Steve Lhomme
From: Steve Lhomme Otherwise some ARM and other unsupported CPU is linked with -O0 --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 9dfd006..d623ced 100755 --- a/configure +++ b/configure @@ -4087,6 +4087,7 @@ probe_cc(){ _DEPFLAGS='$(CPPFLAG

[FFmpeg-devel] [PATCH] ffmpeg: add ffmpeg_d3d11va

2016-12-13 Thread Steve Lhomme
From: Steve Lhomme The code is similar to ffmpeg_dxva2. The decoded output needs to be copied into a staging texture that can be accessed by the CPU as the decoder texture can't be accessed by the CPU. --- Makefile | 1 + configure | 14 ++ ffmpeg.h

Re: [FFmpeg-devel] ffmpeg: Error resizing AVI file

2016-12-13 Thread Carl Eugen Hoyos
2016-12-13 5:21 GMT+01:00 Albert : > Greetings. On Ubuntu 17.04 I have encountered an error while running ffmpeg > 3.2.2 Thank you for the sample, I opened ticket #6019. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org

Re: [FFmpeg-devel] [PATCH] lavf/mov.c: Set skip_samples according to first edit list, when -ignore_editlist is set.

2016-12-13 Thread wm4
On Fri, 11 Nov 2016 22:02:28 -0800 Sasi Inguva wrote: > Signed-off-by: Sasi Inguva > --- > libavformat/isom.h | 2 ++ > libavformat/mov.c | 22 +- > 2 files changed, 23 insertions(+), 1 deletion(-) > > diff --git a/libavformat/isom.h b/libavformat/isom.h > index d684502..

Re: [FFmpeg-devel] [PATCH] avfilter/avfilter: fix filtering frames with unknown channel layouts for filters needing writable frames

2016-12-13 Thread Marton Balint
On Tue, 13 Dec 2016, Paul B Mahol wrote: On 12/12/16, Marton Balint wrote: Signed-off-by: Marton Balint --- libavfilter/avfilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) lgtm Thanks, pushed. Regards, Marton ___ ffmpeg-devel mai