diff --git a/lib_com/gs_noisefill_fx.c b/lib_com/gs_noisefill_fx.c index c9c9a89cadb3a152c2a8b5cbdc3dfad17c7e9d97..fd296e1a44c8f496df21ea00523bc435509cea02 100644 --- a/lib_com/gs_noisefill_fx.c +++ b/lib_com/gs_noisefill_fx.c @@ -1150,11 +1150,19 @@ void highband_exc_dct_in_ivas_fx( test(); IF( bfi || LT_32( core_brate, 6000 ) || ( LT_32( core_brate, 8600 ) && EQ_16( coder_type, UNVOICED ) ) ) { +#ifndef FIX_1478_UNINIT_ON_BFI set16_fx( noisepb, 13107, MBANDS_GN ); /*0.4 in Q15 */ +#else + set16_fx( noisepb, 13107, last_bin ); /*0.4 in Q15 */ +#endif } ELSE IF( EQ_16( GSC_IVAS_mode, 3 ) || ( GSC_IVAS_mode > 0 && EQ_16( GSC_noisy_speech, 1 ) ) ) { +#ifndef FIX_1478_UNINIT_ON_BFI set16_fx( noisepb, 13107 /*0.4f*/, MBANDS_GN16k ); +#else + set16_fx( noisepb, 13107 /*0.4f*/, last_bin ); +#endif } ELSE { @@ -1171,7 +1179,11 @@ void highband_exc_dct_in_ivas_fx( IF( GSC_IVAS_mode == 0 && GSC_noisy_speech && !bfi && LE_16( element_mode, IVAS_SCE ) ) { +#ifndef FIX_1478_UNINIT_ON_BFI set16_fx( noisepb, 3277, MBANDS_GN ); +#else + set16_fx( noisepb, 3277, last_bin ); +#endif } test();