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

Ronald S. Bultje rsbultje
Mon May 10 20:14:34 CEST 2010


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.


More information about the ffmpeg-devel mailing list