On 30/07/2017 01:00, Mark Thompson wrote:
> I prefer it because it's actually a compiler constant rather than a
> text substitution - you don't need to think about how it's expanded,
> with extra parentheses.  That also means that it is compile-tested
> when added, not when first used.  I think the only other significant
> difference is that it is not accessible at preprocessor time for #if,
> but none of these constants will ever want that.
> 
> If there is a consensus that these should be expanded by the
> preprocessor instead then I can easily change it.
> 

I prefer the enum for the reasons you mentioned.

lu

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

Reply via email to