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

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


ffmpeg | branch: master | Lynne <dev at lynne.ee> | Sat Aug 26 21:51:19 2023 +0000| [b6cc53092aeac94938b5e28fe4435ceee365bbcb] | committer: Lynne

lavfi/avgblur_vulkan: fix memory leaks

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

 libavfilter/vf_avgblur_vulkan.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavfilter/vf_avgblur_vulkan.c b/libavfilter/vf_avgblur_vulkan.c
index ae32cd7324..6bc1b616a6 100644
--- a/libavfilter/vf_avgblur_vulkan.c
+++ b/libavfilter/vf_avgblur_vulkan.c
@@ -153,8 +153,6 @@ static av_cold int init_filter(AVFilterContext *ctx, AVFrame *in)
     s->opts.filter_norm[2] = s->opts.filter_norm[0];
     s->opts.filter_norm[3] = s->opts.filter_norm[0];
 
-    return 0;
-
 fail:
     if (spv_opaque)
         spv->free_shader(spv, &spv_opaque);



More information about the ffmpeg-cvslog mailing list