diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-07 01:29:18 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2024-03-07 09:00:39 +0100 |
commit | f9d35e78fec1aab8fe09d4c6b083a7f5436a10e4 (patch) | |
tree | 6027eec7b1f170e7046a6d01434eedf5266577c1 /libavcodec/vulkan_decode.h | |
parent | f7b227bec32282b2bf43a80d57ee2381b842d624 (diff) | |
download | ffmpeg-f9d35e78fec1aab8fe09d4c6b083a7f5436a10e4.tar.gz |
avcodec/vulkan_decode: Un-sparse extensions table
Only three of the 226 (== AV_CODEC_ID_AV1) entries
have been used. Unsparsing this table is especially
important given that this array lives in .data.rel.ro.
Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/vulkan_decode.h')
-rw-r--r-- | libavcodec/vulkan_decode.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/vulkan_decode.h b/libavcodec/vulkan_decode.h index 3e7cd38774..a43e328d73 100644 --- a/libavcodec/vulkan_decode.h +++ b/libavcodec/vulkan_decode.h @@ -19,6 +19,7 @@ #ifndef AVCODEC_VULKAN_DECODE_H #define AVCODEC_VULKAN_DECODE_H +#include "codec_id.h" #include "decode.h" #include "hwaccel_internal.h" #include "internal.h" @@ -26,6 +27,7 @@ #include "vulkan_video.h" typedef struct FFVulkanDecodeDescriptor { + enum AVCodecID codec_id; FFVulkanExtensions decode_extension; VkVideoCodecOperationFlagBitsKHR decode_op; |