[x264-devel] Fix potential misaligment crash in AVX2 denoise_dct

Henrik Gramner git at videolan.org
Thu Jul 4 03:01:41 CEST 2013


x264 | branch: master | Henrik Gramner <henrik at gramner.com> | Sun Jun  2 18:41:17 2013 +0200| [f45158c6f20007ef8f17059dfc084c5b35b74f44] | committer: Jason Garrett-Glaser

Fix potential misaligment crash in AVX2 denoise_dct

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=f45158c6f20007ef8f17059dfc084c5b35b74f44
---

 common/common.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/common.h b/common/common.h
index b7cd22f..c1d6a0c 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 */



More information about the x264-devel mailing list