[FFmpeg-devel] [PATCH] IFF: Add grayscale support to decoder

Sebastian Vater cdgs.basty
Thu May 13 15:17:48 CEST 2010


Ronald S. Bultje a ?crit :
> Hi,
>
> On Mon, May 10, 2010 at 1:58 PM, Sebastian Vater
> <cdgs.basty at googlemail.com> wrote:
>   
>> Of course, this could be solved other ways, too. But this will make the
>> code more complex.
>>     
>
> You probably mean:
>
> count = av_clip(extradata_size / 3, 0, 1 << bps);
>
> That is a lot shorter and simpler than anything I've seen so far.
>   

Ok anyway, I use now simply if (count).

Extradata_size is now also shorter.

-- 

Best regards,
                   :-) Basty/CDGS (-:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: iff-decoder-grayscale-support.patch
Type: text/x-patch
Size: 2110 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100513/e0aeb952/attachment.bin>



More information about the ffmpeg-devel mailing list