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

Diego Biurrun diego
Thu Oct 2 19:20:44 CEST 2008


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.

Diego




More information about the ffmpeg-devel mailing list