mirror of https://git.ffmpeg.org/ffmpeg.git
nlmeans_vulkan: fix uninitialized reads
This commit is contained in:
parent
680d969a30
commit
12080ff040
|
@ -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…
Reference in New Issue