aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_scale_vulkan.c
diff options
context:
space:
mode:
authorLynne <dev@lynne.ee>2023-08-26 21:52:13 +0000
committerLynne <dev@lynne.ee>2023-08-28 22:29:35 +0200
commitd0ab2e2f98a220f87fd5d581c7e0e13cfe366f4b (patch)
tree9dfb10ccfe13b583c8f9fd7c2d5f9619bed3c5a4 /libavfilter/vf_scale_vulkan.c
parent0f2ae1ba6939a1dede0cf02e43daf50218416093 (diff)
downloadffmpeg-d0ab2e2f98a220f87fd5d581c7e0e13cfe366f4b.tar.gz
lavfi/scale_vulkan: fix memory leaks
Diffstat (limited to 'libavfilter/vf_scale_vulkan.c')
-rw-r--r--libavfilter/vf_scale_vulkan.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavfilter/vf_scale_vulkan.c b/libavfilter/vf_scale_vulkan.c
index 6699bab934..14f471b819 100644
--- a/libavfilter/vf_scale_vulkan.c
+++ b/libavfilter/vf_scale_vulkan.c
@@ -256,8 +256,6 @@ static av_cold int init_filter(AVFilterContext *ctx, AVFrame *in)
s->initialized = 1;
- return 0;
-
fail:
if (spv_opaque)
spv->free_shader(spv, &spv_opaque);