Commit 663c2edf authored by Stefano Sabatini's avatar Stefano Sabatini
Browse files

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
parent c5dc6026
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment