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

Sebastian Vater cdgs.basty
Thu May 13 15:18:50 CEST 2010


Sebastian Vater a ?crit :
> 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.
>   

+ reindentation patch here...

-- 

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

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



More information about the ffmpeg-devel mailing list