aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_gblur_vulkan.c
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2021-11-17 13:04:54 +0800
committerLynne <dev@lynne.ee>2021-11-17 06:56:29 +0100
commitbe43eacb7eeaaf4632a40db3fad5ffe44872e4c4 (patch)
tree63edf0a418e9df267f19038f494407e42eb6298b /libavfilter/vf_gblur_vulkan.c
parente95969c07e9eb83bacf7ffebbdbe2687879bf5b1 (diff)
downloadffmpeg-be43eacb7eeaaf4632a40db3fad5ffe44872e4c4.tar.gz
avfilter/vf_gblur_vulkan: Fix use of uninitialized value
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavfilter/vf_gblur_vulkan.c')
-rw-r--r--libavfilter/vf_gblur_vulkan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_gblur_vulkan.c b/libavfilter/vf_gblur_vulkan.c
index d4f391b25d..16c8bbb189 100644
--- a/libavfilter/vf_gblur_vulkan.c
+++ b/libavfilter/vf_gblur_vulkan.c
@@ -124,7 +124,7 @@ static av_cold void init_gaussian_params(GBlurVulkanContext *s)
static av_cold int init_filter(AVFilterContext *ctx, AVFrame *in)
{
- int err;
+ int err = 0;
char *kernel_def;
uint8_t *kernel_mapped;
FFSPIRVShader *shd;