[mtt] also copy top right CU

This commit is contained in:
Joose Sainio 2022-11-11 06:59:28 +02:00 committed by Marko Viitanen
parent a1e7664db3
commit c590e5ec73

View file

@ -83,6 +83,7 @@ static INLINE void initialize_partial_work_tree(lcu_t* from, lcu_t *to, const cu
if (cu_loc->local_x == 0) { if (cu_loc->local_x == 0) {
to->left_ref = from->left_ref; to->left_ref = from->left_ref;
*LCU_GET_TOP_RIGHT_CU(to) = *LCU_GET_TOP_RIGHT_CU(from);
} }
if (cu_loc->local_y == 0) { if (cu_loc->local_y == 0) {
to->top_ref = from->top_ref; to->top_ref = from->top_ref;