[FFmpeg-devel] [PATCH 2/8] avformat/mux: Remove unnecessary headers
Andreas Rheinhardt
andreas.rheinhardt at gmail.com
Tue Apr 21 05:31:47 EEST 2020
mux.c was split from utils.c in 55f9037f38bc3beacb2f5a17408c1d24c077d7fd
and during this split all headers were simply copied without checking if
they were only needed in the part that stayed in utils.c (or whether
these haeders were needed at all). As a result quite a lot of headers
in mux.c are unnecessary. This commit removes them.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
libavformat/mux.c | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/libavformat/mux.c b/libavformat/mux.c
index a6253f5430..c348b8fdc8 100644
--- a/libavformat/mux.c
+++ b/libavformat/mux.c
@@ -20,29 +20,16 @@
*/
#include "avformat.h"
-#include "avio_internal.h"
#include "internal.h"
#include "libavcodec/internal.h"
-#include "libavcodec/bytestream.h"
#include "libavutil/opt.h"
#include "libavutil/dict.h"
#include "libavutil/pixdesc.h"
#include "libavutil/timestamp.h"
-#include "metadata.h"
-#include "id3v2.h"
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/internal.h"
#include "libavutil/mathematics.h"
-#include "libavutil/parseutils.h"
-#include "libavutil/time.h"
-#include "riff.h"
-#include "audiointerleave.h"
-#include "url.h"
-#include <stdarg.h>
-#if CONFIG_NETWORK
-#include "network.h"
-#endif
/**
* @file
--
2.20.1
More information about the ffmpeg-devel
mailing list