Commit 797b1644 authored by stefano's avatar stefano

Only list libavfilter filter if libavfilter has been enabled during

configuration.
Fix compilation if FFmpeg is not configured with --enable-avfilter.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@20813 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent fbb0de75
......@@ -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