summaryrefslogtreecommitdiffstats
path: root/libaf/af.c
diff options
context:
space:
mode:
Diffstat (limited to 'libaf/af.c')
-rw-r--r--libaf/af.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libaf/af.c b/libaf/af.c
index 1fcda9b004..de84807875 100644
--- a/libaf/af.c
+++ b/libaf/af.c
@@ -52,10 +52,10 @@ static af_info_t* filter_list[]={
#endif
&af_info_volnorm,
&af_info_extrastereo,
-#ifdef USE_LIBAVCODEC_A
+#ifdef CONFIG_LIBAVCODEC_A
&af_info_lavcac3enc,
#endif
-#ifdef USE_LIBAVCODEC
+#ifdef CONFIG_LIBAVCODEC
&af_info_lavcresample,
#endif
&af_info_sweep,
@@ -399,7 +399,7 @@ int af_init(af_stream_t* s)
&(s->output.rate));
if (!af) {
char *resampler = "resample";
-#ifdef USE_LIBAVCODEC
+#ifdef CONFIG_LIBAVCODEC
if ((AF_INIT_TYPE_MASK & s->cfg.force) == AF_INIT_SLOW)
resampler = "lavcresample";
#endif
@@ -423,7 +423,7 @@ int af_init(af_stream_t* s)
if ((AF_INIT_TYPE_MASK & s->cfg.force) == AF_INIT_FAST) {
char args[32];
sprintf(args, "%d", s->output.rate);
-#ifdef USE_LIBAVCODEC
+#ifdef CONFIG_LIBAVCODEC
if (strcmp(resampler, "lavcresample") == 0)
strcat(args, ":1");
else