diff mbox series

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

Message ID GV1P250MB073739BF6EB797738E80B1058F362@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit 686d33a6b039e7abd6de6182449d49132ce157a1
Headers show
Series [FFmpeg-devel,01/10] doc/examples: Always use <> includes | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt March 25, 2024, 1:53 a.m. UTC
Forgotten in 8238bc0b5e3dba271217b1223a901b3f9713dc6e.

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

Patch

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