summaryrefslogtreecommitdiff
path: root/libavcodec/fft.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-07-31 22:20:47 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-08-05 19:46:33 +0200
commit211619ad7f43b99a0c1100398f157544b5724460 (patch)
tree0e5dfef62381c4b668cf49cebe83c30f18b08cd4 /libavcodec/fft.h
parent763c501432267cc93a2812fdfcf21c50be03f720 (diff)
avcodec: Remove the FFT_FIXED_32 define
Since the removal of the 16-bit FFT said define is unnecessary as FFT_FIXED_32 is always !FFT_FLOAT. But one wouldn't believe it when looking at the code. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/fft.h')
-rw-r--r--libavcodec/fft.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/libavcodec/fft.h b/libavcodec/fft.h
index e03ca01abf..706c9d07f5 100644
--- a/libavcodec/fft.h
+++ b/libavcodec/fft.h
@@ -26,10 +26,6 @@
#define FFT_FLOAT 1
#endif
-#ifndef FFT_FIXED_32
-#define FFT_FIXED_32 0
-#endif
-
#include <stdint.h>
#include "config.h"
@@ -45,15 +41,11 @@ typedef float FFTDouble;
#else
-#if FFT_FIXED_32
-
#define Q31(x) (int)((x)*2147483648.0 + 0.5)
#define FFT_NAME(x) x ## _fixed_32
typedef int32_t FFTSample;
-#endif /* FFT_FIXED_32 */
-
typedef struct FFTComplex {
FFTSample re, im;
} FFTComplex;