aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/slice.c
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 /libswscale/slice.c
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 'libswscale/slice.c')
-rw-r--r--libswscale/slice.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libswscale/slice.c b/libswscale/slice.c
index db1c696727..1cc3f6c405 100644
--- a/libswscale/slice.c
+++ b/libswscale/slice.c
@@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include "libavutil/mem.h"
#include "swscale_internal.h"
static void free_lines(SwsSlice *s)