summaryrefslogtreecommitdiff
path: root/libavcodec/tests
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-06-12 22:10:11 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-07-22 12:59:07 +0200
commit69f120ead7fbec9a469a5c0950b2a44fbc89f7a0 (patch)
tree47263a143252a08c807a0a5f62936cb93e496f7c /libavcodec/tests
parentcea34b91727370cb0c1eb76258518a9fc78f91fd (diff)
avcodec/avcodec: Don't include cpu.h
It is not used here at all; instead, add it where it is used without including it or any of the arch-specific CPU headers. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/tests')
-rw-r--r--libavcodec/tests/aarch64/dct.c1
-rw-r--r--libavcodec/tests/arm/dct.c1
-rw-r--r--libavcodec/tests/motion.c1
-rw-r--r--libavcodec/tests/ppc/dct.c1
-rw-r--r--libavcodec/tests/x86/dct.c1
5 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/tests/aarch64/dct.c b/libavcodec/tests/aarch64/dct.c
index 032a9638f6..9e477328d5 100644
--- a/libavcodec/tests/aarch64/dct.c
+++ b/libavcodec/tests/aarch64/dct.c
@@ -18,6 +18,7 @@
#include "config.h"
+#include "libavutil/cpu.h"
#include "libavcodec/aarch64/idct.h"
static const struct algo fdct_tab_arch[] = {
diff --git a/libavcodec/tests/arm/dct.c b/libavcodec/tests/arm/dct.c
index 596d369a99..5f826e84df 100644
--- a/libavcodec/tests/arm/dct.c
+++ b/libavcodec/tests/arm/dct.c
@@ -18,6 +18,7 @@
#include "config.h"
+#include "libavutil/cpu.h"
#include "libavcodec/arm/idct.h"
static const struct algo fdct_tab_arch[] = {
diff --git a/libavcodec/tests/motion.c b/libavcodec/tests/motion.c
index d89f9408c2..ef6e1ff309 100644
--- a/libavcodec/tests/motion.c
+++ b/libavcodec/tests/motion.c
@@ -29,6 +29,7 @@
#include "config.h"
#include "libavcodec/me_cmp.h"
+#include "libavutil/cpu.h"
#include "libavutil/internal.h"
#include "libavutil/lfg.h"
#include "libavutil/mem.h"
diff --git a/libavcodec/tests/ppc/dct.c b/libavcodec/tests/ppc/dct.c
index d95db525af..e29dbb0aa3 100644
--- a/libavcodec/tests/ppc/dct.c
+++ b/libavcodec/tests/ppc/dct.c
@@ -18,6 +18,7 @@
#include "config.h"
+#include "libavutil/cpu.h"
#include "libavcodec/ppc/fdct.h"
static const struct algo fdct_tab_arch[] = {
diff --git a/libavcodec/tests/x86/dct.c b/libavcodec/tests/x86/dct.c
index f5c238efc7..104a0f8e0c 100644
--- a/libavcodec/tests/x86/dct.c
+++ b/libavcodec/tests/x86/dct.c
@@ -18,6 +18,7 @@
#include "config.h"
+#include "libavutil/cpu.h"
#include "libavutil/mem_internal.h"
#include "libavcodec/x86/fdct.h"