Message ID | 20240807213347.917235-8-dev@lynne.ee |
---|---|
State | New |
Headers | show |
Series | [FFmpeg-devel,01/13] hwcontext_vulkan: add a new mechanism to expose used queue families | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
diff --git a/libavutil/hwcontext_vulkan.c b/libavutil/hwcontext_vulkan.c index 443862be3b..07c2a970a8 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,