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

Michael Niedermayer michaelni at gmx.at
Fri Nov 28 16:11:57 CET 2014

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 file changed, 1 insertion(+), 5 deletions(-)




Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141128/b6240ca7/attachment.asc>

More information about the ffmpeg-devel mailing list