diff --git a/lib_enc/ivas_core_enc_fx.c b/lib_enc/ivas_core_enc_fx.c index c296c816c8a6eb9c3d33cbc8b4c7a87e8288a15e..dfca3d7ba9845e4c7a71ae4afd16e51c5d804c0c 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 ) );