summaryrefslogtreecommitdiffstats
path: root/libaf/af.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-30 12:01:30 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-07-30 12:01:30 +0000
commit4b141479da70665db8d5780c9ca9e430c9dd1f09 (patch)
tree9f61bb3b6989d4049f57a4d360d9e9b4d0047e9d /libaf/af.c
parentcbe1fcbf8309755549d01cec871c84316432ab8c (diff)
downloadmpv-4b141479da70665db8d5780c9ca9e430c9dd1f09.tar.bz2
mpv-4b141479da70665db8d5780c9ca9e430c9dd1f09.tar.xz
Start unifying names of internal preprocessor directives.
Replace all USE_ prefixes by CONFIG_ prefixes to indicate options which are configurable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
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