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

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


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

lavfi/transpose_vulkan: fix memory leaks

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

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

diff --git a/libavfilter/vf_transpose_vulkan.c b/libavfilter/vf_transpose_vulkan.c
index 3abe93be0b..c9a520ce5f 100644
--- a/libavfilter/vf_transpose_vulkan.c
+++ b/libavfilter/vf_transpose_vulkan.c
@@ -121,8 +121,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