This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 946272b79a325e9bce613b260e50e4e4fe7f3159
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Thu Jul 30 01:41:17 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Fri Jul 31 19:37:52 2026 +0000

    avcodec/vulkan/ffv1_dec_setup: bound the fltmap write
---
 libavcodec/vulkan/ffv1_dec_setup.comp.glsl | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/vulkan/ffv1_dec_setup.comp.glsl 
b/libavcodec/vulkan/ffv1_dec_setup.comp.glsl
index ead7c57474..ea84da6d4e 100644
--- a/libavcodec/vulkan/ffv1_dec_setup.comp.glsl
+++ b/libavcodec/vulkan/ffv1_dec_setup.comp.glsl
@@ -135,6 +135,8 @@ bool decode_remap(uint slice_idx, inout SliceContext sc)
                 }
                 if (i - 1 >= int64_t(end))
                     break;
+                if (j >= fltmap[slice_idx][p].length())
+                    return true;
                 uint iv = uint(i);
                 fltmap[slice_idx][p][j++] = iv ^ (((iv & flip_mask) != 0u) ? 
0u : flip);
                 i++;

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to