[FFmpeg-cvslog] avcodec/profiles: Don't include avcodec.h

Andreas Rheinhardt git at videolan.org
Thu Mar 28 05:01:52 EET 2024


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Mon Mar 25 02:50:29 2024 +0100| [686d33a6b039e7abd6de6182449d49132ce157a1] | committer: Andreas Rheinhardt

avcodec/profiles: Don't include avcodec.h

Forgotten in 8238bc0b5e3dba271217b1223a901b3f9713dc6e.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=686d33a6b039e7abd6de6182449d49132ce157a1
---

 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) \



More information about the ffmpeg-cvslog mailing list