diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-12-12 19:15:56 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-12-12 19:15:56 +0000 |
commit | 663c2edf5a63e147b65a50bba59e94698fcf9aae (patch) | |
tree | 0a9cafec06392245f0fa635abc7017084ba7ab2f | |
parent | c5dc6026008110adee05555fcf2f235850cb506d (diff) | |
download | ffmpeg-663c2edf5a63e147b65a50bba59e94698fcf9aae.tar.gz |
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
-rw-r--r-- | cmdutils.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) |