[FFmpeg-devel] [PATCH] exr: alpha support

Michael Niedermayer michaelni at gmx.at
Wed May 30 05:00:00 CEST 2012


On Tue, May 29, 2012 at 11:07:39AM +0000, Paul B Mahol wrote:
> Hi,
> 
> this decoder is marginally useful (missing all uncompressors and
> luminance/chroma support), this patch attempts to improve situation a
> little.

>  exr.c |   18 ++++++++++++++++--
>  1 file changed, 16 insertions(+), 2 deletions(-)
> 7327b7239e84f68e61cc847eaac52a4a26968a29  0001-exr-alpha-support.patch
> From dd9571168f067ded6989375088c35ff79e10c27d Mon Sep 17 00:00:00 2001
> From: Paul B Mahol <onemda at gmail.com>
> Date: Tue, 29 May 2012 10:37:01 +0000
> Subject: [PATCH] exr: alpha support

this is missing some updates to
        memset(ptr, 0, avctx->width * 6);
        ...
                // Zero out the start if xmin is not 0
                memset(ptr_x, 0, xmin * 6);
                ptr_x += xmin * 3;
...
                memset(ptr_x, 0, (avctx->width - (xmax + 1)) * 6);
                ptr_x += (avctx->width - (xmax + 1)) * 3;
...
        memset(ptr, 0, avctx->width * 6);



        
[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If a bugfix only changes things apparently unrelated to the bug with no
further explanation, that is a good sign that the bugfix is wrong.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120530/bf52d71c/attachment.asc>


More information about the ffmpeg-devel mailing list