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

Git pushed a commit to branch master
in repository ffmpeg.

commit aac66834c230c5a6f0f448dcdc7af879ea4b8da5
Author:     Lynne <[email protected]>
AuthorDate: Tue Aug 18 11:15:06 2026 +0900
Commit:     Lynne <[email protected]>
CommitDate: Tue Aug 18 13:22:05 2026 +0900

    ffv1enc_vulkan: use unaligned bitstream writes in the Golomb shader
    
    The issue is that golomb code writes start after the slice header,
    which means they're not guaranteed to be aligned.
---
 libavcodec/vulkan/ffv1_enc.comp.glsl | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavcodec/vulkan/ffv1_enc.comp.glsl 
b/libavcodec/vulkan/ffv1_enc.comp.glsl
index a4a942782d..f510266d7b 100644
--- a/libavcodec/vulkan/ffv1_enc.comp.glsl
+++ b/libavcodec/vulkan/ffv1_enc.comp.glsl
@@ -24,6 +24,9 @@
 #extension GL_GOOGLE_include_directive : require
 
 #define ENCODE
+/* Golomb slices start writing at rac_terminate()'s byte count, with no
+ * alignment guarantee */
+#define PB_UNALIGNED
 #include "common.glsl"
 #include "ffv1_common.glsl"
 

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to