mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-20 05:46:57 +00:00
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;
|
NLMeansVulkanContext *s = ctx->priv;
|
||||||
FFVulkanContext *vkctx = &s->vkctx;
|
FFVulkanContext *vkctx = &s->vkctx;
|
||||||
const int planes = av_pix_fmt_count_planes(s->vkctx.output_format);
|
const int planes = av_pix_fmt_count_planes(s->vkctx.output_format);
|
||||||
FFVkSPIRVCompiler *spv;
|
FFVkSPIRVCompiler *spv = NULL;
|
||||||
int *offsets_buf;
|
int *offsets_buf;
|
||||||
int offsets_dispatched = 0, nb_dispatches = 0;
|
int offsets_dispatched = 0, nb_dispatches = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user