From b08047cce93e9154316233c2f3fc79896ce3c002 Mon Sep 17 00:00:00 2001 From: Marko Viitanen Date: Thu, 15 May 2014 09:50:05 +0300 Subject: [PATCH] Fixed intra chroma mode selection --- src/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/search.c b/src/search.c index 60f78bfa..dce21f62 100644 --- a/src/search.c +++ b/src/search.c @@ -719,7 +719,7 @@ static int search_cu_intra(encoder_state * const encoder_state, cur_cu->intra[pu_index].cost = cost; cur_cu->intra[pu_index].bitcost = bitcost; - cur_cu->intra[0].mode = cur_cu->intra[pu_index].mode; + cur_cu->intra[0].mode_chroma = cur_cu->intra[0].mode; } return cur_cu->intra[PU_INDEX(x_px >> 2, y_px >> 2)].cost;