ref: b9e1e994e18dfcc93964771c318999b4b0e61df4
parent: d8b26caa712c1a4e040ded3965350b3e9b7b3e3a
author: hkuang <[email protected]>
date: Wed May 21 06:08:06 EDT 2014
Fix the memory alignment issue due to patch: https://gerrit.chromium.org/gerrit/#/c/70162/ Change-Id: I797be6a4b21460de6d791125fc20d2be3a35364f
--- a/vp9/decoder/vp9_decodeframe.c
+++ b/vp9/decoder/vp9_decodeframe.c
@@ -802,7 +802,7 @@
CHECK_MEM_ERROR(
cm,
pbi->tile_data,
- vpx_malloc(tile_cols * tile_rows * (sizeof(*pbi->tile_data))));
+ vpx_memalign(32, tile_cols * tile_rows * (sizeof(*pbi->tile_data))));
pbi->total_tiles = tile_rows * tile_cols;
}