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 /fftools/ffmpeg.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 'fftools/ffmpeg.c')
-rw-r--r-- | fftools/ffmpeg.c | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 5e00d5b645..0ee76d69b5 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -68,40 +68,19 @@ #include <conio.h> #endif -#include "libavutil/avassert.h" -#include "libavutil/avstring.h" #include "libavutil/bprint.h" -#include "libavutil/channel_layout.h" #include "libavutil/dict.h" -#include "libavutil/display.h" -#include "libavutil/fifo.h" -#include "libavutil/hwcontext.h" -#include "libavutil/imgutils.h" -#include "libavutil/intreadwrite.h" -#include "libavutil/libm.h" -#include "libavutil/mathematics.h" -#include "libavutil/opt.h" -#include "libavutil/parseutils.h" -#include "libavutil/pixdesc.h" -#include "libavutil/samplefmt.h" -#include "libavutil/thread.h" -#include "libavutil/threadmessage.h" +#include "libavutil/mem.h" #include "libavutil/time.h" -#include "libavutil/timestamp.h" - -#include "libavcodec/version.h" #include "libavformat/avformat.h" #include "libavdevice/avdevice.h" -#include "libswresample/swresample.h" - #include "cmdutils.h" #include "ffmpeg.h" #include "ffmpeg_sched.h" #include "ffmpeg_utils.h" -#include "sync_queue.h" const char program_name[] = "ffmpeg"; const int program_birth_year = 2000; |