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 /libavformat/cache.c | |
parent | b616be1649f9a32411a3c5b62afe1d73f5a71ed0 (diff) | |
download | ffmpeg-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 'libavformat/cache.c')
-rw-r--r-- | libavformat/cache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/cache.c b/libavformat/cache.c index 115c2c2490..5f78adba9d 100644 --- a/libavformat/cache.c +++ b/libavformat/cache.c @@ -30,6 +30,7 @@ #include "libavutil/avassert.h" #include "libavutil/avstring.h" #include "libavutil/file_open.h" +#include "libavutil/mem.h" #include "libavutil/opt.h" #include "libavutil/tree.h" #include "avio.h" |