]> git.sesse.net Git - x264/commitdiff
Fix potential misaligment crash in AVX2 denoise_dct
authorHenrik Gramner <henrik@gramner.com>
Sun, 2 Jun 2013 16:41:17 +0000 (18:41 +0200)
committerFiona Glaser <fiona@x264.com>
Wed, 3 Jul 2013 00:13:06 +0000 (17:13 -0700)
common/common.h

index b7cd22f697ecdf70991f26691048b65a02b631d3..c1d6a0c8c2dfdbf680c6027b6b353bdabe2c5df9 100644 (file)
@@ -904,8 +904,8 @@ struct x264_t
     uint32_t (*nr_residual_sum)[64];
     uint32_t *nr_count;
 
-    ALIGNED_16( udctcoef nr_offset_denoise[4][64] );
-    ALIGNED_16( uint32_t nr_residual_sum_buf[2][4][64] );
+    ALIGNED_N( udctcoef nr_offset_denoise[4][64] );
+    ALIGNED_N( uint32_t nr_residual_sum_buf[2][4][64] );
     uint32_t nr_count_buf[2][4];
 
     uint8_t luma2chroma_pixel[7]; /* Subsampled pixel size */