[FFmpeg-devel] [PATCH 4/7] lavu/aes: align AVAES struct

Rodger Combs rodger.combs at gmail.com
Mon Oct 12 05:20:05 CEST 2015


---
 libavutil/aes.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavutil/aes.c b/libavutil/aes.c
index 06b1872..ab2d602 100644
--- a/libavutil/aes.c
+++ b/libavutil/aes.c
@@ -274,7 +274,7 @@ int av_aes_init(AVAES *a, const uint8_t *key, int key_bits, int decrypt)
 int main(int argc, char **argv)
 {
     int i, j;
-    AVAES b;
+    DECLARE_ALIGNED(32, AVAES, b);
     uint8_t rkey[2][16] = {
         { 0 },
         { 0x10, 0xa5, 0x88, 0x69, 0xd7, 0x4b, 0xe5, 0xa3,
-- 
2.6.0



More information about the ffmpeg-devel mailing list