From: Henrik Gramner Date: Sun, 2 Jun 2013 16:41:17 +0000 (+0200) Subject: Fix potential misaligment crash in AVX2 denoise_dct X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c41b629d4831cde47a8c0cde435041cc3b996d85;p=libx264 Fix potential misaligment crash in AVX2 denoise_dct --- 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 */