[vlc-devel] Can not declare variably modified type at file scope
Laurent Aimar
fenrir at via.ecp.fr
Sat Jan 30 20:16:31 CET 2010
On Sat, Jan 30, 2010, Rafaël Carré wrote:
> Le 30/01/2010 20:01, Francois Cartegnie a écrit :
> > VOUT_MAX_SUBPICTURES value is not defined locally. [1][2]
>
> #define VOUT_MAX_SUBPICTURES (__MAX(VOUT_MAX_PICTURES,
> SPU_MAX_PREPARE_TIME/5000))
>
> I would look at cpp output, i'd bet __MAX() is a function
It's a macro using ?: syntax defined by VLC.
Using #if < #else #endif can be used instead I think (not tested).
--
fenrir
More information about the vlc-devel
mailing list