diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-12-23 01:06:02 -0800 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2021-01-14 14:56:46 +0200 |
commit | d284d42e71b125d9908ae2d6042d17ee09597ecb (patch) | |
tree | 758311576a2361eedc18c7fc435ad22df644f360 /libFDK/src/mips | |
parent | 2e64f76d2e246cd01cf87c12c06b300571ea3d3b (diff) | |
download | fdk-aac-d284d42e71b125d9908ae2d6042d17ee09597ecb.tar.gz fdk-aac-d284d42e71b125d9908ae2d6042d17ee09597ecb.tar.bz2 fdk-aac-d284d42e71b125d9908ae2d6042d17ee09597ecb.zip |
fix compilation with mips16
Some users wrongly pass both -mips16 and -mdsp when compiling on MIPS
platforms. Handle such a case.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'libFDK/src/mips')
-rw-r--r-- | libFDK/src/mips/scale_mips.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libFDK/src/mips/scale_mips.cpp b/libFDK/src/mips/scale_mips.cpp index 1a3d33c..ff295d9 100644 --- a/libFDK/src/mips/scale_mips.cpp +++ b/libFDK/src/mips/scale_mips.cpp @@ -100,7 +100,7 @@ amm-info@iis.fraunhofer.de *******************************************************************************/ -#if defined(__mips_dsp) +#if defined(__mips_dsp) && !defined(__mips16) #ifndef FUNCTION_getScalefactor_DBL #define FUNCTION_getScalefactor_DBL |