summaryrefslogtreecommitdiff
path: root/libavcodec/amrwbdec.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/amrwbdec.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/amrwbdec.c')
-rw-r--r--libavcodec/amrwbdec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/amrwbdec.c b/libavcodec/amrwbdec.c
index ea3812cd9a..b59066adcf 100644
--- a/libavcodec/amrwbdec.c
+++ b/libavcodec/amrwbdec.c
@@ -24,6 +24,8 @@
* AMR wideband decoder
*/
+#include "config.h"
+
#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "libavutil/lfg.h"
@@ -42,7 +44,9 @@
#include "amr.h"
#include "amrwbdata.h"
+#if ARCH_MIPS
#include "mips/amrwbdec_mips.h"
+#endif /* ARCH_MIPS */
typedef struct AMRWBContext {
AMRWBFrame frame; ///< AMRWB parameters decoded from bitstream