summaryrefslogtreecommitdiffstats
path: root/libavcodec/ac3.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/ac3.h')
-rw-r--r--libavcodec/ac3.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/ac3.h b/libavcodec/ac3.h
index 3f67e09..ff36249 100644
--- a/libavcodec/ac3.h
+++ b/libavcodec/ac3.h
@@ -73,8 +73,8 @@
#define AC3_SPX_BLEND(x) (x)
#define AC3_DYNAMIC_RANGE1 0
-#define INTFLOAT int
-#define SHORTFLOAT int16_t
+typedef int INTFLOAT;
+typedef int16_t SHORTFLOAT;
#else /* USE_FIXED */
@@ -92,8 +92,8 @@
#define AC3_SPX_BLEND(x) (x)* (1.0f/32)
#define AC3_DYNAMIC_RANGE1 1.0f
-#define INTFLOAT float
-#define SHORTFLOAT float
+typedef float INTFLOAT;
+typedef float SHORTFLOAT;
#endif /* USE_FIXED */
OpenPOWER on IntegriCloud