nlmeans_vulkan: fix uninitialized reads

release/7.1
Lynne 6 months ago
parent 680d969a30
commit 12080ff040
No known key found for this signature in database
GPG Key ID: A2FEA5F03F034464
  1. 2
      libavfilter/vf_nlmeans_vulkan.c

@ -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;

Loading…
Cancel
Save