Commit b9e1e994 authored by hkuang's avatar hkuang

Fix the memory alignment issue due to patch:

https://gerrit.chromium.org/gerrit/#/c/70162/

Change-Id: I797be6a4b21460de6d791125fc20d2be3a35364f
parent d8b26caa
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment