aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/lsp.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-25 16:09:01 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-29 00:05:32 +0200
commitba07c84bf961e034b8b8f80603358f8ebab6c171 (patch)
treec23ea751368c99aeb17391484f1ccf6f8b52ee10 /libavcodec/lsp.c
parent6573e65ac00e22ba7c5add70f8f499a3d946f601 (diff)
downloadffmpeg-ba07c84bf961e034b8b8f80603358f8ebab6c171.tar.gz
avcodec/amrwbdec,lsp: Include mips headers only #if ARCH_MIPS
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/lsp.c')
-rw-r--r--libavcodec/lsp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/lsp.c b/libavcodec/lsp.c
index 90f2efaafe..9e7bc5f87a 100644
--- a/libavcodec/lsp.c
+++ b/libavcodec/lsp.c
@@ -23,11 +23,15 @@
#include <math.h>
+#include "config.h"
+
#define FRAC_BITS 14
#include "libavutil/macros.h"
#include "mathops.h"
#include "lsp.h"
+#if ARCH_MIPS
#include "libavcodec/mips/lsp_mips.h"
+#endif /* ARCH_MIPS */
#include "libavutil/avassert.h"
void ff_acelp_reorder_lsf(int16_t* lsfq, int lsfq_min_distance, int lsfq_min, int lsfq_max, int lp_order)