[FFmpeg-cvslog] r20813 - trunk/cmdutils.c

Diego Biurrun diego
Sun Dec 20 15:02:31 CET 2009


On Sat, Dec 12, 2009 at 08:15:56PM +0100, stefano wrote:
> 
> Log:
> Only list libavfilter filter if libavfilter has been enabled during
> configuration.
> Fix compilation if FFmpeg is not configured with --enable-avfilter.
> 
> --- trunk/cmdutils.c	Sat Dec 12 18:45:20 2009	(r20812)
> +++ trunk/cmdutils.c	Sat Dec 12 20:15:56 2009	(r20813)
> @@ -575,8 +575,10 @@ void show_filters(void)
>      AVFilter **filter = NULL;
>  
>      printf("Filters:\n");
> +#if CONFIG_AVFILTER
>      while ((filter = av_filter_next(filter)) && *filter)
>          printf("%-16s %s\n", (*filter)->name, (*filter)->description);
> +#endif
>  }

This has an unwanted side-effect:

cmdutils.c:576: warning: unused variable ?filter?

Diego



More information about the ffmpeg-cvslog mailing list