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

Git pushed a commit to branch master
in repository ffmpeg.

commit d1e0a292ce5fcad7a203ec0b7d9f6e40b68266cb
Author:     Lynne <[email protected]>
AuthorDate: Tue May 26 11:29:40 2026 +0900
Commit:     Lynne <[email protected]>
CommitDate: Tue May 26 17:47:03 2026 +0900

    vulkan/ffv1_enc_remap: clear the full 65536-entry fltmap
    
    Float pixfmts are meant to be normalized between [0, 1], but in case they
    were not, and negative numbers were present, then the top bits would be
    filled with garbage.
    
    Sponsored-by: Sovereign Tech Fund
---
 libavcodec/vulkan/ffv1_enc_remap.comp.glsl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/vulkan/ffv1_enc_remap.comp.glsl 
b/libavcodec/vulkan/ffv1_enc_remap.comp.glsl
index 5bef2eac13..bc905a6695 100644
--- a/libavcodec/vulkan/ffv1_enc_remap.comp.glsl
+++ b/libavcodec/vulkan/ffv1_enc_remap.comp.glsl
@@ -45,7 +45,7 @@ void load_fltmap(uint slice_idx, uint p)
     uint sye = slice_coord(img_size.y, gl_WorkGroupID.y + 1,
                            gl_NumWorkGroups.y, 0);
 
-    for (uint i = gl_LocalInvocationIndex; i < 32768;
+    for (uint i = gl_LocalInvocationIndex; i < 65536u;
          i += (gl_WorkGroupSize.x * gl_WorkGroupSize.y))
         fltmap[slice_idx][p][i] = 0;
 

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

Reply via email to