From abcf2a12b8db11a6846044e94a408cc917699094 Mon Sep 17 00:00:00 2001 From: Joose Sainio Date: Wed, 13 Apr 2022 13:52:01 +0300 Subject: [PATCH] Fix setting chroma mode to planar for mip pus --- src/intra.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intra.c b/src/intra.c index f2fc2658..907826c6 100644 --- a/src/intra.c +++ b/src/intra.c @@ -1392,6 +1392,7 @@ void kvz_intra_predict( } else { use_mip = state->encoder_control->chroma_format == KVZ_CSP_444; + intra_mode = use_mip ? intra_mode : 0; } } if (intra_mode < 68) {