1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

avfilter/vf_gblur_vulkan: Fix use of uninitialized value

Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
Limin Wang
2021-11-17 13:04:54 +08:00
committed by Lynne
parent e95969c07e
commit be43eacb7e

View File

@@ -124,7 +124,7 @@ static av_cold void init_gaussian_params(GBlurVulkanContext *s)
static av_cold int init_filter(AVFilterContext *ctx, AVFrame *in) static av_cold int init_filter(AVFilterContext *ctx, AVFrame *in)
{ {
int err; int err = 0;
char *kernel_def; char *kernel_def;
uint8_t *kernel_mapped; uint8_t *kernel_mapped;
FFSPIRVShader *shd; FFSPIRVShader *shd;