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
release/0.6
Stefano Sabatini 15 years ago
parent c5dc602600
commit 663c2edf5a
  1. 2
      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)

Loading…
Cancel
Save