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 /libavcodec/ffv1enc.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 'libavcodec/ffv1enc.c')
-rw-r--r-- | libavcodec/ffv1enc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c index e510abf6ff..94d9215acd 100644 --- a/libavcodec/ffv1enc.c +++ b/libavcodec/ffv1enc.c @@ -28,8 +28,8 @@ #include "libavutil/attributes.h" #include "libavutil/avassert.h" #include "libavutil/crc.h" +#include "libavutil/mem.h" #include "libavutil/opt.h" -#include "libavutil/imgutils.h" #include "libavutil/pixdesc.h" #include "avcodec.h" @@ -38,7 +38,6 @@ #include "put_bits.h" #include "put_golomb.h" #include "rangecoder.h" -#include "mathops.h" #include "ffv1.h" static const int8_t quant5_10bit[256] = { |