From c41b629d4831cde47a8c0cde435041cc3b996d85 Mon Sep 17 00:00:00 2001 From: Henrik Gramner Date: Sun, 2 Jun 2013 18:41:17 +0200 Subject: [PATCH] Fix potential misaligment crash in AVX2 denoise_dct --- common/common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/common.h b/common/common.h index b7cd22f6..c1d6a0c8 100644 --- a/common/common.h +++ b/common/common.h @@ -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 */ -- 2.40.0