diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-25 01:30:37 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-31 00:08:43 +0100 |
commit | 790f793844390ece526ff654dc1bdddff5f5b4e8 (patch) | |
tree | 3545028e84a0e74a21df31d3cf398ed9284aade3 /libpostproc | |
parent | b616be1649f9a32411a3c5b62afe1d73f5a71ed0 (diff) |
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 'libpostproc')
-rw-r--r-- | libpostproc/postprocess.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c index 8f4de8b1e1..015bc9d501 100644 --- a/libpostproc/postprocess.c +++ b/libpostproc/postprocess.c @@ -72,15 +72,15 @@ try to unroll inner for(x=0 ... loop to avoid these damn if(x ... checks //Changelog: use git log +#include <stddef.h> +#include <stdlib.h> +#include <string.h> + #include "config.h" -#include "libavutil/avutil.h" -#include "libavutil/avassert.h" +#include "libavutil/common.h" #include "libavutil/cpu.h" #include "libavutil/intreadwrite.h" -#include <inttypes.h> -#include <stdio.h> -#include <stdlib.h> -#include <string.h> +#include "libavutil/mem.h" //#undef HAVE_MMXEXT_INLINE //#undef HAVE_MMX_INLINE //#undef ARCH_X86 |