diff --git a/av1/common/alloccommon.c b/av1/common/alloccommon.c index 9183fa5f65b3a90751b4fe85db3ab9def6a44882..4772a89616b76fdd3782fad2a3fcc0897722190c 100644 --- a/av1/common/alloccommon.c +++ b/av1/common/alloccommon.c @@ -98,7 +98,7 @@ void av1_alloc_restoration_buffers(AV1_COMMON *cm) { ROUND_POWER_OF_TWO(cm->height, cm->subsampling_y)); aom_free(cm->rst_internal.tmpbuf); CHECK_MEM_ERROR(cm, cm->rst_internal.tmpbuf, - (int32_t *)aom_malloc(RESTORATION_TMPBUF_SIZE)); + (int32_t *)aom_memalign(16, RESTORATION_TMPBUF_SIZE)); } void av1_free_restoration_buffers(AV1_COMMON *cm) {