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

Git pushed a commit to branch master
in repository ffmpeg.

commit 9d1ef0a23acf6a05048fe7707cec95530fec514c
Author:     Niklas Haas <[email protected]>
AuthorDate: Sat Nov 7 14:46:16 2026 +0100
Commit:     Niklas Haas <[email protected]>
CommitDate: Sun Nov 8 01:48:12 2026 +0000

    swscale/uops_tmpl: keep largest element of block_t first
    
    It's a good idea to keep the largest element of a union first, because of
    compiler bugs / disagreements about the specification.
    
    Signed-off-by: Niklas Haas <[email protected]>
---
 libswscale/uops_tmpl.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libswscale/uops_tmpl.h b/libswscale/uops_tmpl.h
index 2103028e49..fc3542e735 100644
--- a/libswscale/uops_tmpl.h
+++ b/libswscale/uops_tmpl.h
@@ -42,10 +42,10 @@
 #endif
 
 typedef union block_t {
-    uint8_t   u8[SWS_BLOCK_SIZE];
-    uint16_t u16[SWS_BLOCK_SIZE];
-    uint32_t u32[SWS_BLOCK_SIZE];
     float    f32[SWS_BLOCK_SIZE];
+    uint32_t u32[SWS_BLOCK_SIZE];
+    uint16_t u16[SWS_BLOCK_SIZE];
+    uint8_t   u8[SWS_BLOCK_SIZE];
 } block_t;
 
 #define SIZEOF_BLOCK (sizeof(pixel_t) * SWS_BLOCK_SIZE)

-- 
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