ffmpeg | branch: master | Lynne <d...@lynne.ee> | Wed Jul 24 00:39:31 2024 +0200| [957d34784ad98cb342cd8b23f114b17094f92f5c] | committer: Lynne
hwcontext_vulkan: constify validation layer features table The struct data seem to get corrupted otherwise. Possibly a validation layer or libvulkan issue. > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=957d34784ad98cb342cd8b23f114b17094f92f5c --- libavutil/hwcontext_vulkan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index a022eda93b..bd32ecef9c 100644 --- a/libavutil/hwcontext_vulkan.c +++ b/libavutil/hwcontext_vulkan.c @@ -777,7 +777,7 @@ static int create_instance(AVHWDeviceContext *ctx, AVDictionary *opts) goto fail; if (debug_mode) { - VkValidationFeatureEnableEXT feat_list[] = { + static const VkValidationFeatureEnableEXT feat_list[] = { VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_EXT, VK_VALIDATION_FEATURE_ENABLE_GPU_ASSISTED_RESERVE_BINDING_SLOT_EXT, VK_VALIDATION_FEATURE_ENABLE_SYNCHRONIZATION_VALIDATION_EXT, _______________________________________________ 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".