Re: [FFmpeg-devel] [PATCH] avcodec/pngdec: do not blend on transparent black

2014-11-28 Thread Michael Niedermayer
On Fri, Nov 28, 2014 at 10:43:01AM +0100, Benoit Fouet wrote: > There is no need to memset the zlib output buffer, as there is no > blending happening there. Instead, do not blend when the dispose > operation is set to 'background' (tranparent black). > --- > libavcodec/pngdec.c | 6 +- > 1 fi

[FFmpeg-devel] [PATCH] avcodec/pngdec: do not blend on transparent black

2014-11-28 Thread Benoit Fouet
There is no need to memset the zlib output buffer, as there is no blending happening there. Instead, do not blend when the dispose operation is set to 'background' (tranparent black). --- libavcodec/pngdec.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libavcodec/pngdec