ffmpeg | branch: master | Lynne <d...@lynne.ee> | Sun Aug 11 04:27:20 2024 
+0200| [12080ff0404059847df8bc30cc5023a9010f60b2] | committer: Lynne

nlmeans_vulkan: fix uninitialized reads

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

 libavfilter/vf_nlmeans_vulkan.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_nlmeans_vulkan.c b/libavfilter/vf_nlmeans_vulkan.c
index 5840aea4a7..be9305854b 100644
--- a/libavfilter/vf_nlmeans_vulkan.c
+++ b/libavfilter/vf_nlmeans_vulkan.c
@@ -564,7 +564,7 @@ static av_cold int init_filter(AVFilterContext *ctx)
     NLMeansVulkanContext *s = ctx->priv;
     FFVulkanContext *vkctx = &s->vkctx;
     const int planes = av_pix_fmt_count_planes(s->vkctx.output_format);
-    FFVkSPIRVCompiler *spv;
+    FFVkSPIRVCompiler *spv = NULL;
     int *offsets_buf;
     int offsets_dispatched = 0, nb_dispatches = 0;
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to