[FFmpeg-devel] [PATCH 5/6] avcodec, avformat: Remove unnecessary inclusions of lavc/internal.h

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Tue Mar 22 14:35:10 EET 2022


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavcodec/parser.c       | 1 -
 libavcodec/v4l2_buffers.c | 1 -
 libavcodec/v4l2_m2m.c     | 1 -
 libavformat/chromaprint.c | 1 -
 libavformat/genh.c        | 1 -
 libavformat/tls_openssl.c | 1 -
 6 files changed, 6 deletions(-)

diff --git a/libavcodec/parser.c b/libavcodec/parser.c
index 24fe44eb30..49de7e6a57 100644
--- a/libavcodec/parser.c
+++ b/libavcodec/parser.c
@@ -27,7 +27,6 @@
 #include "libavutil/avassert.h"
 #include "libavutil/mem.h"
 
-#include "internal.h"
 #include "parser.h"
 
 AVCodecParserContext *av_parser_init(int codec_id)
diff --git a/libavcodec/v4l2_buffers.c b/libavcodec/v4l2_buffers.c
index 4b2679eb38..3f5471067a 100644
--- a/libavcodec/v4l2_buffers.c
+++ b/libavcodec/v4l2_buffers.c
@@ -28,7 +28,6 @@
 #include <fcntl.h>
 #include <poll.h>
 #include "libavcodec/avcodec.h"
-#include "libavcodec/internal.h"
 #include "libavutil/pixdesc.h"
 #include "v4l2_context.h"
 #include "v4l2_buffers.h"
diff --git a/libavcodec/v4l2_m2m.c b/libavcodec/v4l2_m2m.c
index cdfd579810..3178ef06b8 100644
--- a/libavcodec/v4l2_m2m.c
+++ b/libavcodec/v4l2_m2m.c
@@ -28,7 +28,6 @@
 #include <dirent.h>
 #include <fcntl.h>
 #include "libavcodec/avcodec.h"
-#include "libavcodec/internal.h"
 #include "libavutil/pixdesc.h"
 #include "libavutil/imgutils.h"
 #include "libavutil/pixfmt.h"
diff --git a/libavformat/chromaprint.c b/libavformat/chromaprint.c
index bcb8315159..3953a5ced3 100644
--- a/libavformat/chromaprint.c
+++ b/libavformat/chromaprint.c
@@ -22,7 +22,6 @@
 #include "avformat.h"
 #include "internal.h"
 #include "libavutil/opt.h"
-#include "libavcodec/internal.h"
 #include <chromaprint.h>
 
 #define CPR_VERSION_INT AV_VERSION_INT(CHROMAPRINT_VERSION_MAJOR, \
diff --git a/libavformat/genh.c b/libavformat/genh.c
index a85d38dd31..b1c20718f6 100644
--- a/libavformat/genh.c
+++ b/libavformat/genh.c
@@ -21,7 +21,6 @@
 
 #include "libavutil/channel_layout.h"
 #include "libavutil/intreadwrite.h"
-#include "libavcodec/internal.h"
 #include "avformat.h"
 #include "internal.h"
 
diff --git a/libavformat/tls_openssl.c b/libavformat/tls_openssl.c
index 1d813cbbb5..8bf766c01f 100644
--- a/libavformat/tls_openssl.c
+++ b/libavformat/tls_openssl.c
@@ -25,7 +25,6 @@
 #include "os_support.h"
 #include "url.h"
 #include "tls.h"
-#include "libavcodec/internal.h"
 #include "libavutil/avstring.h"
 #include "libavutil/avutil.h"
 #include "libavutil/opt.h"
-- 
2.32.0



More information about the ffmpeg-devel mailing list