[FFmpeg-devel] [PATCH 2/2] avcodec/pngdec: handle 4 more bytes with SIMD for RGB64 in paeth prediction

2014-12-07 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavcodec/pngdec.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index 293c7db..9b488b7 100644 --- a/libavcodec/pngdec.c +++ b/libavcodec/pngdec.c @@ -272,7 +272,8 @@ static void png_filte

[FFmpeg-devel] [PATCH 1/2] avcodec/x86/pngdsp: fix off by 1 error

2014-12-07 Thread Michael Niedermayer
This fixes artifacts in the last pixel of rows with some widths and pixel formats Found-by: Dominique Leroux Signed-off-by: Michael Niedermayer --- libavcodec/pngdec.c |2 +- libavcodec/x86/pngdsp.asm |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcode

Re: [FFmpeg-devel] [PATCH] Fixed PNG decoding with Paeth filter for RGBA 64-bits.

2014-12-07 Thread Michael Niedermayer
Hi On Sun, Dec 07, 2014 at 05:39:16AM +0100, Michael Niedermayer wrote: [...] > > Changelog| 1 + > > libavcodec/pngdec.c | 16 > > libavcodec/pngdsp.c | 7 +-- > > libavcodec/pngdsp.h | 5 + > > libavcodec/x86/pngdsp_init

[FFmpeg-devel] [PATCH] lavfi/avfiltergraph: fix channel substitution score.

2014-12-07 Thread Nicolas George
Only count the number of channels that are present on input. Fix a case where input FL+FR+BL gives a better score to 6.1 than quad because BL+BR→SL+SR counts as two remapped channels while BL→BL+BR counts as one preserved and one extra. Signed-off-by: Nicolas George --- libavfilter/avfiltergraph

Re: [FFmpeg-devel] [PATCH] lavfi/avfiltergraph: fix channel substitution score.

2014-12-07 Thread Michael Niedermayer
On Sun, Dec 07, 2014 at 01:31:59PM +0100, Nicolas George wrote: > Only count the number of channels that are present on input. > Fix a case where input FL+FR+BL gives a better score to 6.1 > than quad because BL+BR→SL+SR counts as two remapped channels > while BL→BL+BR counts as one preserved and o

Re: [FFmpeg-devel] [PATCH] lavfi/avfiltergraph: fix channel substitution score.

2014-12-07 Thread Nicolas George
Le septidi 17 frimaire, an CCXXIII, Michael Niedermayer a écrit : > LGTM though this is your code, you know it much better than i do Actually no, it is not my code, I just had to tweak it for unknown channel layouts. I thought it was yours or Stefano's, but I just checked: the score logic is Anton

Re: [FFmpeg-devel] [PATCH] lavfi/avfiltergraph: fix channel substitution score.

2014-12-07 Thread Michael Niedermayer
On Sun, Dec 07, 2014 at 02:15:24PM +0100, Nicolas George wrote: > Le septidi 17 frimaire, an CCXXIII, Michael Niedermayer a écrit : > > LGTM though this is your code, you know it much better than i do > > Actually no, it is not my code, I just had to tweak it for unknown channel > layouts. I thoug

[FFmpeg-devel] [PATCH] lavfi: USPP filter

2014-12-07 Thread arwa arif
Hello! I have ported the uspp filter to FFmpeg. I have attached the patch. Regards, Arwa Arif From 7cafda11d5d402a0490af0a1a74de373445352a1 Mon Sep 17 00:00:00 2001 From: Arwa Arif Date: Sun, 7 Dec 2014 18:56:46 +0530 Subject: [PATCH] lavfi: USPP Filter --- libavfilter/Makefile |2 +-

Re: [FFmpeg-devel] [PATCH] Fix for xcb based x11grab, trac ticket #4164

2014-12-07 Thread Michael Niedermayer
On Sat, Dec 06, 2014 at 11:48:13PM +, Daniel Moran wrote: > Hi, > > This is the first time I've created/submitted a GIT patch, so I apologise in > advance if I have made a mistake. > > This is to address an error when using show_region, which would cause part of > the captured area to beco

Re: [FFmpeg-devel] [PATCH] lavfi: USPP filter

2014-12-07 Thread Michael Niedermayer
On Sun, Dec 07, 2014 at 07:52:59PM +0530, arwa arif wrote: > Hello! > I have ported the uspp filter to FFmpeg. > > > I have attached the patch. > > > Regards, > Arwa Arif > Makefile |2 > allfilters.c |1 > vf_uspp.c| 509 > +

[FFmpeg-devel] [PATCH] avutil/opt: Fix AV_OPT_TYPE_BINARY case in av_opt_is_set_to_default()

2014-12-07 Thread Michael Niedermayer
Fixes CID1257010 Signed-off-by: Michael Niedermayer --- libavutil/opt.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/opt.c b/libavutil/opt.c index 4cf2069..d03df60 100644 --- a/libavutil/opt.c +++ b/libavutil/opt.c @@ -1788,9 +1788,9 @@ int av_opt_is_set_t

Re: [FFmpeg-devel] [PATCH] avformat/dashenc: make durations 64bit

2014-12-07 Thread Michael Niedermayer
On Sat, Dec 06, 2014 at 06:19:54PM +0100, Michael Niedermayer wrote: > Fix potential integer overflow > Fix CID1254944 > > Signed-off-by: Michael Niedermayer > --- > libavformat/dashenc.c | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) applied [...] -- Michael GnuPG

Re: [FFmpeg-devel] [PATCH] doc/filters: Add ascii graphics to clarify what the currently implemented tinterlace modes do

2014-12-07 Thread Michael Niedermayer
On Fri, Dec 05, 2014 at 01:43:09PM +0100, Michael Niedermayer wrote: > On Thu, Dec 04, 2014 at 04:57:09PM +, tim nicholson wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > On 04/12/14 16:09, Clément Bœsch wrote: > > > [..] > > > > > > This representation requires way more

Re: [FFmpeg-devel] [PATCH] avformat/matroskadec: fix handling of recursive SeekHead elements

2014-12-07 Thread Michael Niedermayer
On Sat, Dec 06, 2014 at 04:53:30PM +0100, wm4 wrote: > When matroska_execute_seekhead() is called, it goes through the list of > seekhead entries and attempts to read elements not read yet. When doing > this, the parser can find further SeekHead elements, and will extend the > matroska->seekhead li

Re: [FFmpeg-devel] [PATCH] avutil/opt: Fix AV_OPT_TYPE_BINARY case in av_opt_is_set_to_default()

2014-12-07 Thread Lukasz Marek
W dniu niedziela, 7 grudnia 2014 Michael Niedermayer napisał(a): > Fixes CID1257010 > > Signed-off-by: Michael Niedermayer > > --- > libavutil/opt.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavutil/opt.c b/libavutil/opt.c > index 4cf2069..d03df60 100644 >

[FFmpeg-devel] [PATCH] avcodec/pngdec: check av_image_get_linesize return value

2014-12-07 Thread Benoit Fouet
>From 13e02ad678cc8d9ab678f73b82fa59a66681e05e Mon Sep 17 00:00:00 2001 From: Benoit Fouet Date: Mon, 8 Dec 2014 03:16:46 +0100 Subject: [PATCH] avcodec/pngdec: check av_image_get_linesize return value Fixes CID 1257012 --- libavcodec/pngdec.c | 3 +++ 1 file changed, 3 insertions(+) diff --g

Re: [FFmpeg-devel] [PATCH]Fixed av_fast_realloc calling error when compiled to the Dynamic library

2014-12-07 Thread 杨超
Hello,Michael:Sorry for my late reply.>the patch lost the \nyes, the patch lost \n. the patch is :---a/libavcodec/utils.c+++b/libavcodec/utils.c@@ -127,1 +127,1 @@-#if FF_API_FAST_MALLOC && CONFIG_SHARED && HAVE_SYMVER+#if FF_API_FAST_MALLOC && (!CONFIG_SHARED) && HAVE_SYMVER >what error message

Re: [FFmpeg-devel] [PATCH]Fixed av_fast_realloc calling error when compiled to the Dynamic library

2014-12-07 Thread 杨超
Hello,Michael: Sorry for the Format problem. Please Ignore the previous mail. >the patch lost the \nyes, the patch lost \n. the patch is : ---a/libavcodec/utils.c +++b/libavcodec/utils.c @@ -127,1 +127,1 @@-#if FF_API_FAST_MALLOC && CONFIG_SHARED && HAVE_SYMVER +#if FF_API_FAST_MALLOC && (!CONFI

Re: [FFmpeg-devel] [PATCH] avcodec/pngdec: check av_image_get_linesize return value

2014-12-07 Thread Michael Niedermayer
On Mon, Dec 08, 2014 at 03:20:46AM +0100, Benoit Fouet wrote: > > pngdec.c |3 +++ > 1 file changed, 3 insertions(+) > cdd281f54c27c2343e2e5d9125eb5af8032a92ae > 0001-avcodec-pngdec-check-av_image_get_linesize-return-va.patch > From 13e02ad678cc8d9ab678f73b82fa59a66681e05e Mon Sep 17 00:00