From fa963234a825b5c2456df031931e2e36644ba4c8 Mon Sep 17 00:00:00 2001 From: siivonek Date: Wed, 16 Feb 2022 17:14:26 +0200 Subject: [PATCH] [mip] Fix CI error. Const modifier in wrong place. --- src/intra.c | 2 +- src/intra.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/intra.c b/src/intra.c index 40a1f77c..cd103900 100644 --- a/src/intra.c +++ b/src/intra.c @@ -555,7 +555,7 @@ void kvz_predict_cclm( } -int kvz_get_mip_flag_context(int x, int y, int width, int height, lcu_t* const lcu, cu_array_t* const cu_a) { +int kvz_get_mip_flag_context(int x, int y, int width, int height, const lcu_t* lcu, cu_array_t* const cu_a) { assert(!(lcu && cu_a)); if (width > 2 * height || height > 2 * width) { return 3; diff --git a/src/intra.h b/src/intra.h index 44ab404d..4e3542c3 100644 --- a/src/intra.h +++ b/src/intra.h @@ -153,7 +153,7 @@ void kvz_predict_cclm( cclm_parameters_t* cclm_params ); -int kvz_get_mip_flag_context(int x, int y, int width, int height, lcu_t* const lcu, cu_array_t* const cu_a); +int kvz_get_mip_flag_context(int x, int y, int width, int height, const lcu_t* lcu, cu_array_t* const cu_a); void kvz_mip_predict( encoder_state_t const * const state,