Skip to content

Bug in ACELP unvoiced (UC) frames decoding

There seems to be a bug in ACELP unvoiced (UC) frames decoding routine at https://forge.3gpp.org/rep/sa4/audio/ivas-basop/-/blob/main/lib_dec/dec_uv_fx.c#L260:

idiv1616( i_subfr_fx, L_SUBFR );

When comparing the function decod_unvoiced_ivas_fx() to decod_unvoiced_fx(), it seems that the code should be

tmp_idx = idiv1616( i_subfr_fx, L_SUBFR );