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>
This commit is contained in:
Andreas Rheinhardt
2024-03-25 01:30:37 +01:00
parent b616be1649
commit 790f793844
876 changed files with 904 additions and 290 deletions

View File

@ -23,6 +23,7 @@
#include <stdio.h>
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"