[mtt] fix

This commit is contained in:
Joose Sainio 2022-11-09 07:34:41 +02:00 committed by Marko Viitanen
parent 924a93b60e
commit 1cf1501542

View file

@ -89,6 +89,7 @@ static INLINE void initialize_partial_work_tree(lcu_t* from, lcu_t *to, const cu
} }
to->ref.chroma_format = from->ref.chroma_format; to->ref.chroma_format = from->ref.chroma_format;
to->rec.chroma_format = from->rec.chroma_format;
if (tree_type != UVG_CHROMA_T) { if (tree_type != UVG_CHROMA_T) {
const int offset = cu_loc->local_x + cu_loc->local_y * LCU_WIDTH; const int offset = cu_loc->local_x + cu_loc->local_y * LCU_WIDTH;