diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-04-16 16:09:16 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-04-16 21:44:26 +0200 |
commit | 7f1fd9763668c5863e743d108f501a00d1806da0 (patch) | |
tree | f7364216974fb89095bc80d2d18aa0618a7e0324 | |
parent | 5b27c307e7532d6a76dceb555c3c039e81517bd1 (diff) | |
download | ffmpeg-7f1fd9763668c5863e743d108f501a00d1806da0.tar.gz |
cmdutils: Fix build with lavfi disabled
Signed-off-by: Diego Biurrun <diego@biurrun.de>
-rw-r--r-- | cmdutils.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmdutils.c b/cmdutils.c index feee51ce51..62f38cc83e 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -1268,6 +1268,7 @@ static void show_help_muxer(const char *name) show_help_children(fmt->priv_class, AV_OPT_FLAG_ENCODING_PARAM); } +#if CONFIG_AVFILTER static void show_help_filter(const char *name) { const AVFilter *f = avfilter_get_by_name(name); @@ -1305,6 +1306,7 @@ static void show_help_filter(const char *name) show_help_children(f->priv_class, AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_AUDIO_PARAM); } +#endif int show_help(void *optctx, const char *opt, const char *arg) { @@ -1326,8 +1328,10 @@ int show_help(void *optctx, const char *opt, const char *arg) show_help_demuxer(par); } else if (!strcmp(topic, "muxer")) { show_help_muxer(par); +#if CONFIG_AVFILTER } else if (!strcmp(topic, "filter")) { show_help_filter(par); +#endif } else { show_help_default(topic, par); } |