nlmeans_vulkan: fix uninitialized reads

This commit is contained in:
Lynne 2024-08-11 04:27:20 +02:00
parent 680d969a30
commit 12080ff040
No known key found for this signature in database
GPG Key ID: A2FEA5F03F034464

View File

@ -564,7 +564,7 @@ static av_cold int init_filter(AVFilterContext *ctx)
NLMeansVulkanContext *s = ctx->priv;
FFVulkanContext *vkctx = &s->vkctx;
const int planes = av_pix_fmt_count_planes(s->vkctx.output_format);
FFVkSPIRVCompiler *spv;
FFVkSPIRVCompiler *spv = NULL;
int *offsets_buf;
int offsets_dispatched = 0, nb_dispatches = 0;