aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vaapi_hevc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-07-17 21:41:45 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2023-08-07 09:50:29 +0200
commitdcc1847b18f01ce168266b9067861a8f5b1709b7 (patch)
tree22bc447276610a2b3543dad5575e1e739646ae1a /libavcodec/vaapi_hevc.c
parent428133a3ed8a623ffe703cb33d79669dd18e28c3 (diff)
downloadffmpeg-dcc1847b18f01ce168266b9067861a8f5b1709b7.tar.gz
avcodec/hwconfig: Move HWACCEL_CAP_* to a new header
libavcodec/hwconfig.h currently contains HWACCEL_CAP_* flags as well as the definition of AVCodecHWConfigInternal and some macros to create them. The users of these two are nearly disjoint: The flags are used by files providing AVHWAccels whereas AVCodecHWConfigInternal is used by files providing codecs (for FFCodec.hw_configs). This patch therefore moves these flags to a new file hwaccel_internal.h. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/vaapi_hevc.c')
-rw-r--r--libavcodec/vaapi_hevc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vaapi_hevc.c b/libavcodec/vaapi_hevc.c
index 8b12484fff..87584d1edb 100644
--- a/libavcodec/vaapi_hevc.c
+++ b/libavcodec/vaapi_hevc.c
@@ -25,7 +25,7 @@
#include "avcodec.h"
#include "hevcdec.h"
-#include "hwconfig.h"
+#include "hwaccel_internal.h"
#include "vaapi_decode.h"
#include "vaapi_hevc.h"
#include "h265_profile_level.h"