[FFmpeg-devel] [PATCH 10/10] avcodec/profiles: Don't include avcodec.h

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Mon Mar 25 03:53:24 EET 2024


Forgotten in 8238bc0b5e3dba271217b1223a901b3f9713dc6e.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavcodec/profiles.c | 3 ++-
 libavcodec/profiles.h | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/libavcodec/profiles.c b/libavcodec/profiles.c
index 5bb8f150e6..052b77926e 100644
--- a/libavcodec/profiles.c
+++ b/libavcodec/profiles.c
@@ -18,7 +18,8 @@
 
 #include "config.h"
 
-#include "avcodec.h"
+#include "codec.h"
+#include "defs.h"
 #include "profiles.h"
 
 #if !CONFIG_SMALL
diff --git a/libavcodec/profiles.h b/libavcodec/profiles.h
index ffc8710ef2..842201718b 100644
--- a/libavcodec/profiles.h
+++ b/libavcodec/profiles.h
@@ -19,7 +19,8 @@
 #ifndef AVCODEC_PROFILES_H
 #define AVCODEC_PROFILES_H
 
-#include "avcodec.h"
+#include "codec.h"
+#include "defs.h"
 #include "libavutil/opt.h"
 
 #define FF_AVCTX_PROFILE_OPTION(name, description, type, value) \
-- 
2.40.1



More information about the ffmpeg-devel mailing list