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

Paul B Mahol onemda at gmail.com
Wed May 30 11:50:15 CEST 2012


On 5/30/12, Michael Niedermayer <michaelni at gmx.at> wrote:
> 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);
>

Fixed and applied, Thanks!


More information about the ffmpeg-devel mailing list