History

ffv1enc_vulkan: fix array overflow

Maxime Gervais committed 1 year ago

Commit cbdb5e21 parent 56b85b61 file · +2 −0Browse files

Unified · Split

libavcodec/ffv1enc_vulkan.c+2−0
@@ -1358,6 +1358,8 @@ static int init_encode_shader(AVCodecContext *avctx, FFVkSPIRVCompiler *spv) · 1357 unmodified lines
1358 .mem_quali = "writeonly",1358 .mem_quali = "writeonly",
1359 .buf_content = "uint64_t slice_results[2048];",1359 .buf_content = "uint64_t slice_results[2048];",
1360 },1360 },
1361 { /* place holder for desc_set[3] */
1362 },
1361 };1363 };
1362 if (fv->is_rgb) {1364 if (fv->is_rgb) {
1363 AVHWFramesContext *intermediate_frames_ctx;1365 AVHWFramesContext *intermediate_frames_ctx;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t