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

Git pushed a commit to branch master
in repository ffmpeg.

commit e14e43aeaad69880c2d22bcb30485e7e19120ba8
Author:     Lynne <[email protected]>
AuthorDate: Tue May 26 11:30:31 2026 +0900
Commit:     Lynne <[email protected]>
CommitDate: Tue May 26 17:47:03 2026 +0900

    vulkan/ffv1_enc: pass the correct base and offset to OFFBUF in init_golomb
    
    Ugh, my previous fix on this was only right in some cases, this is a 
general fix.
    
    Sponsored-by: Sovereign Tech Fund
---
 libavcodec/vulkan/ffv1_enc.comp.glsl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/vulkan/ffv1_enc.comp.glsl 
b/libavcodec/vulkan/ffv1_enc.comp.glsl
index 85c31d7482..38119780f7 100644
--- a/libavcodec/vulkan/ffv1_enc.comp.glsl
+++ b/libavcodec/vulkan/ffv1_enc.comp.glsl
@@ -149,7 +149,7 @@ PutBitContext pb;
 void init_golomb(void)
 {
     hdr_len = rac_terminate();
-    init_put_bits(pb, OFFBUF(u8buf, rc.bs_start, hdr_len),
+    init_put_bits(pb, OFFBUF(u8buf, slice_data, rc.bs_start + hdr_len),
                   slice_size_max - hdr_len);
 }
 

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

Reply via email to