From: Maxime Gervais Date: Fri, 23 May 2025 16:20:41 +0200 Subject: [PATCH] ffv1enc_vulkan: fix array overflow --- libavcodec/ffv1enc_vulkan.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/ffv1enc_vulkan.c b/libavcodec/ffv1enc_vulkan.c index d9e12f5fae..15aaddac98 100644 --- a/libavcodec/ffv1enc_vulkan.c +++ b/libavcodec/ffv1enc_vulkan.c @@ -1358,6 +1358,8 @@ static int init_encode_shader(AVCodecContext *avctx, FFVkSPIRVCompiler *spv) .mem_quali = "writeonly", .buf_content = "uint64_t slice_results[2048];", }, + { /* place holder for desc_set[3] */ + }, }; if (fv->is_rgb) { AVHWFramesContext *intermediate_frames_ctx;