build: simplify libavfilter configure checks

This is all not needed anymore. In particular, remove all configure
switches except --enable-libavfilter.
This commit is contained in:
wm4
2014-03-16 10:25:05 +01:00
parent c9d328319e
commit 98cd2c4122
9 changed files with 11 additions and 88 deletions

View File

@@ -56,7 +56,7 @@ bool mp_parse_cfgfiles(struct MPContext *mpctx)
char *conffile;
// The #if is a stupid hack to avoid errors if libavfilter is not available.
#if HAVE_VF_LAVFI && HAVE_ENCODING
#if HAVE_LIBAVFILTER && HAVE_ENCODING
conffile = mp_find_config_file(tmp, mpctx->global, "encoding-profiles.conf");
if (conffile && mp_path_exists(conffile))
m_config_parse_config_file(mpctx->mconfig, conffile, 0);