Merge "Fix the memory alignment issue due to patch: https://gerrit.chromium.org/gerrit/#/c/70162/"

This commit is contained in:
hkuang 2014-05-21 12:12:21 -07:00 committed by Gerrit Code Review
commit 0958bbd185

View File

@ -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;
}