From 663c2edf5a63e147b65a50bba59e94698fcf9aae Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sat, 12 Dec 2009 19:15:56 +0000 Subject: [PATCH] Only list libavfilter filters if libavfilter has been enabled during configuration. Fix compilation if FFmpeg is not configured with --enable-avfilter. Originally committed as revision 20813 to svn://svn.ffmpeg.org/ffmpeg/trunk --- cmdutils.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmdutils.c b/cmdutils.c index d4afc02f6a..a1bf6d5d4e 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -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 } int read_yesno(void)