[FFmpeg-devel] [PATCH 5/5] all: fix enum definition for large values

Ganesh Ajjanagadde gajjanag at mit.edu
Sat Oct 24 20:54:07 CEST 2015


On Sat, Oct 24, 2015 at 2:48 PM, Nicolas George <george at nsup.org> wrote:
> Le tridi 3 brumaire, an CCXXIV, Ganesh Ajjanagadde a écrit :
>> or do you prefer a static const style?
>
> static const is not build-time constant, and therefore unusable for this:
> impossible to use it as case label or constant initializer.

Ah, my bad: I believe this works in C++ and got mixed up.

>
> Regards,
>
> --
>   Nicolas George
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list