[FFmpeg-devel] [PATCH]VDPAU patch for VC1 decoding, round 1

Aurelien Jacobs aurel
Thu Jan 8 01:36:12 CET 2009


Diego Biurrun wrote:

> On Thu, Jan 08, 2009 at 01:19:26AM +0100, Aurelien Jacobs wrote:
> > Diego Biurrun wrote:
> > 
> > > On Thu, Jan 08, 2009 at 12:50:09AM +0100, Aurelien Jacobs wrote:
> > > > 
> > > > Moreover, #if gives a chance to the compiler to complain if
> > > > there is a typo in the symbol name. With #ifdef, such a
> > > > typo could stay unnoticed for a long time.
> > > 
> > > How so?
> > 
> > IIRC some compilers warn you if you #if SOME_UNDEFINED_SYMBOL.
> > It obviously can't warn you with #ifdef.
> 
> I tried with gcc 4.3 before writing my previous mail, it does not.

Tried with -Wundef ?

Aurel




More information about the ffmpeg-devel mailing list