Commit c9fd4732 authored by Jonathan Matthews's avatar Jonathan Matthews Committed by Yaowu Xu

alloc_restoration_buffers must update stride

Introduced in Change-Id: I773f7ec9202d17c57bba44a698350e05101fa871

Change-Id: I147cce7c02db7144d8687855885910dbf8d9ab29
parent f4d8c16e
......@@ -114,7 +114,6 @@ void av1_alloc_restoration_buffers(AV1_COMMON *cm) {
av1_alloc_restoration_struct(cm, &cm->rst_info[p], p > 0);
if (cm->rst_tmpbuf == NULL) {
aom_free(cm->rst_tmpbuf);
CHECK_MEM_ERROR(cm, cm->rst_tmpbuf,
(int32_t *)aom_memalign(16, RESTORATION_TMPBUF_SIZE));
}
......@@ -171,9 +170,9 @@ void av1_alloc_restoration_buffers(AV1_COMMON *cm) {
CHECK_MEM_ERROR(cm, boundaries->stripe_boundary_below,
(uint8_t *)aom_memalign(32, buf_size));
boundaries->stripe_boundary_stride = stride;
boundaries->stripe_boundary_size = buf_size;
}
boundaries->stripe_boundary_stride = stride;
}
}
......
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