diff options
author | Clément Bœsch <ubitux@gmail.com> | 2013-04-01 19:56:59 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2013-04-01 19:56:59 +0200 |
commit | 2208a46f8f2721028eae589361ccb7cc8c9820b6 (patch) | |
tree | 8d0d97c77ce27e7e6757fe785513b878fe2b2183 /cmdutils.c | |
parent | 599866f5d5e6d27657a3f4f5d4c1bc8785143c99 (diff) | |
download | ffmpeg-2208a46f8f2721028eae589361ccb7cc8c9820b6.tar.gz |
cmdutils: fix build with --disable-avfilter.
Diffstat (limited to 'cmdutils.c')
-rw-r--r-- | cmdutils.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmdutils.c b/cmdutils.c index 09a5ce139c..756cf7154b 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -1615,6 +1615,7 @@ static void show_help_muxer(const char *name) static void show_help_filter(const char *name) { +#if CONFIG_AVFILTER const AVFilter *filter; if (!name) { @@ -1633,6 +1634,10 @@ static void show_help_filter(const char *name) show_help_children(filter->priv_class, AV_OPT_FLAG_FILTERING_PARAM); else printf("No AVOption available\n"); +#else + av_log(NULL, AV_LOG_ERROR, "Build without libavfilter; " + "can not to satisfy request\n"); +#endif } int show_help(void *optctx, const char *opt, const char *arg) |