aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-25 02:50:29 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-28 03:08:01 +0100
commit686d33a6b039e7abd6de6182449d49132ce157a1 (patch)
tree5054ac62e19cabf2c938dadb59aa0f9a9f81a53e
parent33b1c7ebbfc47b5755366a3b657edf0a6b9b7baa (diff)
downloadffmpeg-686d33a6b039e7abd6de6182449d49132ce157a1.tar.gz
avcodec/profiles: Don't include avcodec.h
Forgotten in 8238bc0b5e3dba271217b1223a901b3f9713dc6e. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavcodec/profiles.c3
-rw-r--r--libavcodec/profiles.h3
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) \