From b9e1e994e18dfcc93964771c318999b4b0e61df4 Mon Sep 17 00:00:00 2001 From: hkuang Date: Wed, 21 May 2014 10:08:06 -0700 Subject: [PATCH] Fix the memory alignment issue due to patch: https://gerrit.chromium.org/gerrit/#/c/70162/ Change-Id: I797be6a4b21460de6d791125fc20d2be3a35364f --- vp9/decoder/vp9_decodeframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp9/decoder/vp9_decodeframe.c b/vp9/decoder/vp9_decodeframe.c index de58939fc..d6482761b 100644 --- a/vp9/decoder/vp9_decodeframe.c +++ b/vp9/decoder/vp9_decodeframe.c @@ -802,7 +802,7 @@ static const uint8_t *decode_tiles(VP9Decoder *pbi, 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; } -- 2.40.0