[FFmpeg-devel] [PATCH 6/6] tests/checkasm: Improve included headers
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Wed Feb 28 18:18:44 EET 2024
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
tests/checkasm/exrdsp.c | 2 +-
tests/checkasm/h264dsp.c | 2 --
tests/checkasm/h264pred.c | 2 +-
tests/checkasm/hevc_sao.c | 2 --
tests/checkasm/utvideodsp.c | 1 -
tests/checkasm/vp8dsp.c | 1 -
tests/checkasm/vvc_mc.c | 4 +---
7 files changed, 3 insertions(+), 11 deletions(-)
diff --git a/tests/checkasm/exrdsp.c b/tests/checkasm/exrdsp.c
index 2a5febb9d3..8af2f13109 100644
--- a/tests/checkasm/exrdsp.c
+++ b/tests/checkasm/exrdsp.c
@@ -21,7 +21,7 @@
#include <string.h>
#include "checkasm.h"
-#include "libavcodec/avcodec.h"
+#include "libavcodec/defs.h"
#include "libavcodec/exrdsp.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem_internal.h"
diff --git a/tests/checkasm/h264dsp.c b/tests/checkasm/h264dsp.c
index 3c95f9d74d..0f484e3f43 100644
--- a/tests/checkasm/h264dsp.c
+++ b/tests/checkasm/h264dsp.c
@@ -20,12 +20,10 @@
#include <string.h>
#include "checkasm.h"
-#include "libavcodec/avcodec.h"
#include "libavcodec/h264dsp.h"
#include "libavcodec/h264data.h"
#include "libavcodec/h264_parse.h"
#include "libavutil/common.h"
-#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem_internal.h"
diff --git a/tests/checkasm/h264pred.c b/tests/checkasm/h264pred.c
index a3077f6946..53e1cdb219 100644
--- a/tests/checkasm/h264pred.c
+++ b/tests/checkasm/h264pred.c
@@ -20,7 +20,7 @@
#include <string.h>
#include "checkasm.h"
-#include "libavcodec/avcodec.h"
+#include "libavcodec/codec_id.h"
#include "libavcodec/h264pred.h"
#include "libavutil/common.h"
#include "libavutil/internal.h"
diff --git a/tests/checkasm/hevc_sao.c b/tests/checkasm/hevc_sao.c
index da3f710537..d05af9ac72 100644
--- a/tests/checkasm/hevc_sao.c
+++ b/tests/checkasm/hevc_sao.c
@@ -23,8 +23,6 @@
#include "libavutil/intreadwrite.h"
#include "libavutil/mem_internal.h"
-#include "libavcodec/avcodec.h"
-
#include "libavcodec/hevcdsp.h"
#include "checkasm.h"
diff --git a/tests/checkasm/utvideodsp.c b/tests/checkasm/utvideodsp.c
index bdede6107b..2463c96603 100644
--- a/tests/checkasm/utvideodsp.c
+++ b/tests/checkasm/utvideodsp.c
@@ -21,7 +21,6 @@
#include <string.h>
#include "checkasm.h"
-#include "libavcodec/avcodec.h"
#include "libavcodec/utvideodsp.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem_internal.h"
diff --git a/tests/checkasm/vp8dsp.c b/tests/checkasm/vp8dsp.c
index 87b03d71d5..4cd0f8ac4f 100644
--- a/tests/checkasm/vp8dsp.c
+++ b/tests/checkasm/vp8dsp.c
@@ -20,7 +20,6 @@
#include <string.h>
-#include "libavcodec/avcodec.h"
#include "libavcodec/vp8dsp.h"
#include "libavutil/common.h"
diff --git a/tests/checkasm/vvc_mc.c b/tests/checkasm/vvc_mc.c
index ce34965b7d..d102e2ac9a 100644
--- a/tests/checkasm/vvc_mc.c
+++ b/tests/checkasm/vvc_mc.c
@@ -22,13 +22,11 @@
#include <string.h>
#include "checkasm.h"
-#include "libavcodec/avcodec.h"
#include "libavcodec/vvc/vvc_ctu.h"
#include "libavcodec/vvc/vvc_data.h"
+#include "libavcodec/vvc/vvcdsp.h"
#include "libavutil/common.h"
-#include "libavutil/internal.h"
-#include "libavutil/internal.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem_internal.h"
--
2.40.1
More information about the ffmpeg-devel
mailing list