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
This commit is contained in:
Stefano Sabatini 2009-12-12 19:15:56 +00:00
parent c5dc602600
commit 663c2edf5a
1 changed files with 2 additions and 0 deletions

View File

@ -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)