[FFmpeg-cvslog] lavfi/scale_vulkan: fix memory leaks

Lynne git at videolan.org
Mon Aug 28 23:33:12 EEST 2023


ffmpeg | branch: master | Lynne <dev at lynne.ee> | Sat Aug 26 21:52:13 2023 +0000| [d0ab2e2f98a220f87fd5d581c7e0e13cfe366f4b] | committer: Lynne

lavfi/scale_vulkan: fix memory leaks

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d0ab2e2f98a220f87fd5d581c7e0e13cfe366f4b
---

 libavfilter/vf_scale_vulkan.c | 2 --
 1 file changed, 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);



More information about the ffmpeg-cvslog mailing list