ffmpeg | branch: master | Maxime Gervais <max...@mediaarea.net> | Fri May 23 
16:20:41 2025 +0200| [cbdb5e2477ce6acf64bc85580c6cc1a55ac6f991] | committer: 
Lynne

ffv1enc_vulkan: fix array overflow

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cbdb5e2477ce6acf64bc85580c6cc1a55ac6f991
---

 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;

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to