mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-17 12:27:18 +00:00
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:
parent
c5dc602600
commit
663c2edf5a
@ -575,8 +575,10 @@ void show_filters(void)
|
|||||||
AVFilter **filter = NULL;
|
AVFilter **filter = NULL;
|
||||||
|
|
||||||
printf("Filters:\n");
|
printf("Filters:\n");
|
||||||
|
#if CONFIG_AVFILTER
|
||||||
while ((filter = av_filter_next(filter)) && *filter)
|
while ((filter = av_filter_next(filter)) && *filter)
|
||||||
printf("%-16s %s\n", (*filter)->name, (*filter)->description);
|
printf("%-16s %s\n", (*filter)->name, (*filter)->description);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
int read_yesno(void)
|
int read_yesno(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user