From 5ae785787690b2cc18df9ae0bfd63087b0196767 Mon Sep 17 00:00:00 2001 From: Jamaika1 Date: Wed, 31 Jul 2024 09:43:56 +0200 Subject: [PATCH] [10bit] don't overwrite heap --- src/transform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/transform.c b/src/transform.c index 98728da0..6055e80b 100644 --- a/src/transform.c +++ b/src/transform.c @@ -570,9 +570,9 @@ void uvg_chroma_transform_search( enum uvg_tree_type tree_type) { ALIGNED(64) coeff_t u_coeff[LCU_WIDTH_C * LCU_WIDTH_C * 5]; - ALIGNED(64) uint8_t u_recon[LCU_WIDTH_C * LCU_WIDTH_C * 5]; + ALIGNED(64) uvg_pixel u_recon[LCU_WIDTH_C * LCU_WIDTH_C * 5]; ALIGNED(64) coeff_t v_coeff[LCU_WIDTH_C * LCU_WIDTH_C * 2]; // In case of JCCR the v channel does not have coefficients - ALIGNED(64) uint8_t v_recon[LCU_WIDTH_C * LCU_WIDTH_C * 5]; + ALIGNED(64) uvg_pixel v_recon[LCU_WIDTH_C * LCU_WIDTH_C * 5]; const int width = cu_loc->chroma_width; const int height = cu_loc->chroma_height;