Commit 19fb2cc2 authored by Yaowu Xu's avatar Yaowu Xu
Browse files

Use aom_memalign to replace aom_malloc

Change-Id: Ia76f0686b0fc340eb5dd28b7245f72d0f158ed42
parent 6bc11973
......@@ -136,8 +136,9 @@ void av1_alloc_restoration_struct(AV1_COMMON *cm, RestorationInfo *rsi,
const int nunits = ntiles * rsi->units_per_tile;
CHECK_MEM_ERROR(cm, rsi->unit_info, (RestorationUnitInfo *)aom_malloc(
sizeof(*rsi->unit_info) * nunits));
CHECK_MEM_ERROR(cm, rsi->unit_info,
(RestorationUnitInfo *)aom_memalign(
16, sizeof(*rsi->unit_info) * nunits));
void av1_free_restoration_struct(RestorationInfo *rst_info) {
Supports Markdown
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