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

Git pushed a commit to branch master
in repository ffmpeg.

commit 4d151c37e0ba0df979b65030e568f1e94aa6bca3
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Fri Aug 7 01:14:50 2026 +0200
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Sun Aug 9 17:22:44 2026 +0200

    avcodec/ttadata: Explicitly specify alignment
    
    x86 assembly relies on it.
    
    Reviewed-by: Lynne <[email protected]>
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/ttadata.h | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/libavcodec/ttadata.h b/libavcodec/ttadata.h
index 3554817183..2f1b662bad 100644
--- a/libavcodec/ttadata.h
+++ b/libavcodec/ttadata.h
@@ -23,12 +23,14 @@
 
 #include <stdint.h>
 
+#include "libavutil/mem_internal.h"
+
 #define MAX_ORDER 8
 typedef struct TTAFilter {
-    int32_t shift, round, error;
     int32_t qm[MAX_ORDER];
     int32_t dx[MAX_ORDER];
     int32_t dl[MAX_ORDER];
+    int32_t shift, round, error;
 } TTAFilter;
 
 typedef struct TTARice {
@@ -36,8 +38,8 @@ typedef struct TTARice {
 } TTARice;
 
 typedef struct TTAChannel {
+    DECLARE_ALIGNED_16(TTAFilter, filter);
     int32_t predictor;
-    TTAFilter filter;
     TTARice rice;
 } TTAChannel;
 

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

Reply via email to