aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vulkan_av1.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-07 01:29:18 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-07 09:00:39 +0100
commitf9d35e78fec1aab8fe09d4c6b083a7f5436a10e4 (patch)
tree6027eec7b1f170e7046a6d01434eedf5266577c1 /libavcodec/vulkan_av1.c
parentf7b227bec32282b2bf43a80d57ee2381b842d624 (diff)
downloadffmpeg-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_av1.c')
-rw-r--r--libavcodec/vulkan_av1.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vulkan_av1.c b/libavcodec/vulkan_av1.c
index 03ae553ff8..5afd5353cc 100644
--- a/libavcodec/vulkan_av1.c
+++ b/libavcodec/vulkan_av1.c
@@ -24,6 +24,7 @@
#define MAX_TILES 256
const FFVulkanDecodeDescriptor ff_vk_dec_av1_desc = {
+ .codec_id = AV_CODEC_ID_AV1,
.decode_extension = FF_VK_EXT_VIDEO_DECODE_AV1,
.decode_op = 0x01000000, /* TODO fix this */
.ext_props = {