You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
ffv1enc_vulkan: fix array overflow
This commit is contained in:
@ -1358,6 +1358,8 @@ static int init_encode_shader(AVCodecContext *avctx, FFVkSPIRVCompiler *spv)
|
|||||||
.mem_quali = "writeonly",
|
.mem_quali = "writeonly",
|
||||||
.buf_content = "uint64_t slice_results[2048];",
|
.buf_content = "uint64_t slice_results[2048];",
|
||||||
},
|
},
|
||||||
|
{ /* place holder for desc_set[3] */
|
||||||
|
},
|
||||||
};
|
};
|
||||||
if (fv->is_rgb) {
|
if (fv->is_rgb) {
|
||||||
AVHWFramesContext *intermediate_frames_ctx;
|
AVHWFramesContext *intermediate_frames_ctx;
|
||||||
|
Reference in New Issue
Block a user