summaryrefslogtreecommitdiff
path: root/libavcodec/ac3.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-04-01 16:31:09 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-04-01 19:58:31 +0200
commitb219142921e9f59307ad9edd3ed445cf3c1a9b5c (patch)
treef0a1a9e958628cd2560d9797e8dc5d46b1f5eadb /libavcodec/ac3.h
parent696e34a6e15d9d9d655191a953779d06dc3b5897 (diff)
avcodec/ac3: rename identifier used to select the fixed point variant
the CONFIG_ prefix is used by configure, using it for other things is potentially confusing to the reader Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Nedeljko Babic <nbabic@mips.com>
Diffstat (limited to 'libavcodec/ac3.h')
-rw-r--r--libavcodec/ac3.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/ac3.h b/libavcodec/ac3.h
index ac3936d7f3..542f79d711 100644
--- a/libavcodec/ac3.h
+++ b/libavcodec/ac3.h
@@ -51,11 +51,11 @@
#define EXP_D25 2
#define EXP_D45 3
-#ifndef CONFIG_AC3_FIXED
-#define CONFIG_AC3_FIXED 0
+#ifndef USE_FIXED
+#define USE_FIXED 0
#endif
-#if CONFIG_AC3_FIXED
+#if USE_FIXED
#define FFT_FLOAT 0
@@ -75,7 +75,7 @@
#define INTFLOAT int
#define SHORTFLOAT int16_t
-#else /* CONFIG_AC3_FIXED */
+#else /* USE_FIXED */
#define FIXR(x) ((float)(x))
#define FIXR12(x) ((float)(x))
@@ -93,7 +93,7 @@
#define INTFLOAT float
#define SHORTFLOAT float
-#endif /* CONFIG_AC3_FIXED */
+#endif /* USE_FIXED */
#define AC3_LEVEL(x) ROUND15((x) * FIXR15(0.7071067811865476))