On 12/11/2011 03:13 PM, Luca Barbato wrote:

> On 11/12/11 20:45, Justin Ruggles wrote:
>> Well, we could have a macro to do the check, but it would still be
>> scattered.
> 
> If you are willing to use a macro I'd be grateful.


I've decided to rework the file a bit. There is a LOT of code
duplication. This patch only covers 8-bpp, but there is near-identical
code in the 15/16-bpp function that also needs such checks.

-Justin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to