[FFmpeg-devel] [PATCH 4/4] Include headers for optional libraries only when enabled.

Aurelien Jacobs aurel
Thu Oct 2 21:26:03 CEST 2008


Diego Biurrun wrote:

> On Thu, Oct 02, 2008 at 06:55:19PM +0200, Diego 'Flameeyes' Petten? wrote:
> > Include the headers for libavfilter, libswscale and libpostproc when
> > they are enabled (and thus linked in).
> > 
> > --- a/cmdutils.c
> > +++ b/cmdutils.c
> > @@ -26,10 +26,16 @@
> >  
> > +#if ENABLE_AVFILTER
> 
> You should use CONFIG_ definitions in preprocessor checks.

Why ?

Aurel




More information about the ffmpeg-devel mailing list