diff libaf/af.c @ 27341:e7c989f7a7c9

Start unifying names of internal preprocessor directives. Replace all USE_ prefixes by CONFIG_ prefixes to indicate options which are configurable.
author diego
date Wed, 30 Jul 2008 12:01:30 +0000
parents b265c001e64a
children 1d2faa1020fb
line wrap: on
line diff
--- a/libaf/af.c	Wed Jul 30 11:48:01 2008 +0000
+++ b/libaf/af.c	Wed Jul 30 12:01:30 2008 +0000
@@ -52,10 +52,10 @@
 #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 @@
                &(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 @@
       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