From 790f793844390ece526ff654dc1bdddff5f5b4e8 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 25 Mar 2024 01:30:37 +0100 Subject: 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 --- libavutil/imgutils.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavutil/imgutils.c') diff --git a/libavutil/imgutils.c b/libavutil/imgutils.c index 1e15f7c920..16e3133c33 100644 --- a/libavutil/imgutils.c +++ b/libavutil/imgutils.c @@ -29,6 +29,7 @@ #include "intreadwrite.h" #include "log.h" #include "mathematics.h" +#include "mem.h" #include "pixdesc.h" #include "rational.h" -- cgit v1.2.3