summaryrefslogtreecommitdiff
path: root/libavutil/tests
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-07-23 10:50:16 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-02-24 12:56:49 +0100
commit321a3c244d0a89b2826c38611284cc403a9808fa (patch)
tree42de53641a11053d83871e7826b265e612940e28 /libavutil/tests
parent12a540352bc0fef439df6e1268751ffdb0cd5f6e (diff)
downloadffmpeg-321a3c244d0a89b2826c38611284cc403a9808fa.tar.gz
avutil/log: Don't include avutil.h
It has been included since af5f434f8c0fb3b4ee3b206ebc1946ca660a8abe for deprecation reasons, but removing it has been forgotten after it had served is purpose. So remove it. For convenience, include version.h instead as LIBAVUTIL_VERSION_INT is supposed to be used when creating AVClasses. Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/tests')
-rw-r--r--libavutil/tests/camellia.c4
-rw-r--r--libavutil/tests/cast5.c4
-rw-r--r--libavutil/tests/twofish.c2
3 files changed, 10 insertions, 0 deletions
diff --git a/libavutil/tests/camellia.c b/libavutil/tests/camellia.c
index 1716b59a38..9fdd6cd7e8 100644
--- a/libavutil/tests/camellia.c
+++ b/libavutil/tests/camellia.c
@@ -19,8 +19,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <stddef.h>
+#include <string.h>
+
#include "libavutil/camellia.h"
#include "libavutil/log.h"
+#include "libavutil/mem.h"
int main(int argc, char *argv[])
{
diff --git a/libavutil/tests/cast5.c b/libavutil/tests/cast5.c
index ce3aa80b5b..1ba3075e73 100644
--- a/libavutil/tests/cast5.c
+++ b/libavutil/tests/cast5.c
@@ -19,8 +19,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <stddef.h>
+#include <string.h>
+
#include "libavutil/cast5.h"
#include "libavutil/log.h"
+#include "libavutil/mem.h"
int main(int argc, char** argv)
{
diff --git a/libavutil/tests/twofish.c b/libavutil/tests/twofish.c
index 7e8b129230..a4ccbfd379 100644
--- a/libavutil/tests/twofish.c
+++ b/libavutil/tests/twofish.c
@@ -20,10 +20,12 @@
*/
#include "libavutil/log.h"
+#include "libavutil/mem.h"
#include "libavutil/twofish.h"
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
int main(int argc, char *argv[])
{