From 43c2f9318e6d0dfd1513822c971a08685fcce313 Mon Sep 17 00:00:00 2001 From: Joose Sainio Date: Wed, 13 Apr 2022 12:54:30 +0300 Subject: [PATCH] Fix mip mode generation --- src/search_intra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search_intra.c b/src/search_intra.c index b8c2ea11..ec5bc3a0 100644 --- a/src/search_intra.c +++ b/src/search_intra.c @@ -1118,7 +1118,7 @@ void kvz_search_cu_intra( search_data[index].pred_cu.intra.mip_flag = 1; search_data[index].pred_cu.intra.mode = i; search_data[index].pred_cu.intra.mip_is_transposed = transpose; - search_data[index].pred_cu.intra.mode_chroma = 0; + search_data[index].pred_cu.intra.mode_chroma = i; search_data[index].cost = MAX_INT; } }