From d0b8c777327bcd9d4f0d1581e15ac1e7a2d4fc1a Mon Sep 17 00:00:00 2001 From: naghibza Date: Fri, 10 Oct 2025 09:45:09 +0200 Subject: [PATCH] fix "for" loop iterator. --- lib_enc/ivas_core_enc_fx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib_enc/ivas_core_enc_fx.c b/lib_enc/ivas_core_enc_fx.c index c296c816c..dfca3d7ba 100644 --- a/lib_enc/ivas_core_enc_fx.c +++ b/lib_enc/ivas_core_enc_fx.c @@ -707,7 +707,7 @@ ivas_error ivas_core_enc_fx( q_shift = sub( sub( q_re_im_buf[n], 1 ), st->cldfbSynTd->Q_cldfb_state ); // cldfb_state_fx will be used in cldfbSynthesis_ivas_fx and has to be aligned with (q_re_im_buf[n] - 1) IF( GT_32( q_shift, 0 ) ) { - FOR( int ts = 0; ts < CLDFB_NO_COL_MAX; i++ ) + FOR( Word16 ts = 0; ts < CLDFB_NO_COL_MAX; ts++ ) { scale_sig32( realBuffer_fx[n][ts], CLDFB_NO_CHANNELS_MAX, negate( q_shift ) ); scale_sig32( imagBuffer_fx[n][ts], CLDFB_NO_CHANNELS_MAX, negate( q_shift ) ); -- GitLab