[FFmpeg-devel] [PATCH] IFF: Add grayscale support to decoder
Thu May 13 15:18:50 CEST 2010
Sebastian Vater a ?crit :
> Ronald S. Bultje a ?crit :
>> 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...
:-) Basty/CDGS (-:
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 767 bytes
Desc: not available
More information about the ffmpeg-devel