aboutsummaryrefslogtreecommitdiffstats
path: root/tests/api
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-25 01:30:37 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-31 00:08:43 +0100
commit790f793844390ece526ff654dc1bdddff5f5b4e8 (patch)
tree3545028e84a0e74a21df31d3cf398ed9284aade3 /tests/api
parentb616be1649f9a32411a3c5b62afe1d73f5a71ed0 (diff)
downloadffmpeg-790f793844390ece526ff654dc1bdddff5f5b4e8.tar.gz
avutil/common: Don't auto-include mem.h
There are lots of files that don't need it: The number of object files that actually need it went down from 2011 to 884 here. Keep it for external users in order to not cause breakages. Also improve the other headers a bit while just at it. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'tests/api')
-rw-r--r--tests/api/api-band-test.c1
-rw-r--r--tests/api/api-flac-test.c1
-rw-r--r--tests/api/api-h264-slice-test.c1
-rw-r--r--tests/api/api-h264-test.c1
-rw-r--r--tests/api/api-seek-test.c1
-rw-r--r--tests/api/api-threadmessage-test.c1
6 files changed, 6 insertions, 0 deletions
diff --git a/tests/api/api-band-test.c b/tests/api/api-band-test.c
index b00e2927a9..bbaa6edb58 100644
--- a/tests/api/api-band-test.c
+++ b/tests/api/api-band-test.c
@@ -25,6 +25,7 @@
*/
#include "libavutil/adler32.h"
+#include "libavutil/mem.h"
#include "libavcodec/avcodec.h"
#include "libavformat/avformat.h"
#include "libavutil/imgutils.h"
diff --git a/tests/api/api-flac-test.c b/tests/api/api-flac-test.c
index d1e45acda7..e65e261b98 100644
--- a/tests/api/api-flac-test.c
+++ b/tests/api/api-flac-test.c
@@ -30,6 +30,7 @@
#include "libavcodec/avcodec.h"
#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
+#include "libavutil/mem.h"
#include "libavutil/samplefmt.h"
#define NUMBER_OF_AUDIO_FRAMES 200
diff --git a/tests/api/api-h264-slice-test.c b/tests/api/api-h264-slice-test.c
index b7aa405b0d..f4a9c865c4 100644
--- a/tests/api/api-h264-slice-test.c
+++ b/tests/api/api-h264-slice-test.c
@@ -39,6 +39,7 @@
#include <fcntl.h>
#include "libavcodec/avcodec.h"
+#include "libavutil/mem.h"
#include "libavutil/pixdesc.h"
#include "libavutil/hash.h"
#include "libavutil/bswap.h"
diff --git a/tests/api/api-h264-test.c b/tests/api/api-h264-test.c
index c89f1ba41a..e1e8803c1e 100644
--- a/tests/api/api-h264-test.c
+++ b/tests/api/api-h264-test.c
@@ -25,6 +25,7 @@
*/
#include "libavutil/adler32.h"
+#include "libavutil/mem.h"
#include "libavcodec/avcodec.h"
#include "libavformat/avformat.h"
#include "libavutil/imgutils.h"
diff --git a/tests/api/api-seek-test.c b/tests/api/api-seek-test.c
index e86908e285..1bf9a1bde7 100644
--- a/tests/api/api-seek-test.c
+++ b/tests/api/api-seek-test.c
@@ -25,6 +25,7 @@
*/
#include "libavutil/adler32.h"
+#include "libavutil/mem.h"
#include "libavcodec/avcodec.h"
#include "libavformat/avformat.h"
#include "libavutil/imgutils.h"
diff --git a/tests/api/api-threadmessage-test.c b/tests/api/api-threadmessage-test.c
index c96b473c43..b9a4bdca16 100644
--- a/tests/api/api-threadmessage-test.c
+++ b/tests/api/api-threadmessage-test.c
@@ -25,6 +25,7 @@
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/frame.h"
+#include "libavutil/mem.h"
#include "libavutil/threadmessage.h"
#include "libavutil/thread.h" // not public