Commit b38c569a authored by vaillancour's avatar vaillancour
Browse files

Fix 1478, copy of un-init data

parent 867217ee
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -589,7 +589,11 @@ void highband_exc_dct_in(

    if ( bfi || core_brate < 6000 || ( core_brate < 8600 && coder_type == UNVOICED ) )
    {
#ifndef FIX_1478_UNINIT_ON_BFI
        set_f( noisepb, 0.4f, MBANDS_GN );
#else
        set_f( noisepb, 0.4f, MBANDS_GN16k );
#endif
    }
    else if ( GSC_IVAS_mode == 3 || ( GSC_IVAS_mode > 0 && GSC_noisy_speech == 1 ) )
    {
+1 −1
Original line number Diff line number Diff line
@@ -172,7 +172,7 @@
#define FIX_1454_FIX_STEREO_TO_FOA_JBM                  /* VA: issue 1454: fix buggy stereo to FOA in JBM */
#define FIX_1461_CNG_BW_SWITCHING                       /* Eri: issue 1461: Stereo parameters are not updated when SID/NODATA forces BW to stay the same */
#define FIX_2252_LP_CNG_STARTS_SID                      /* VA: issues 2251 and 2252: fix LP CNG uninitialized value in bitstream that starts with an SID */

#define FIX_1478_UNINIT_ON_BFI                          /* VA: Fix issue 1478 where a vector is partly un-initialized during bfi */
/* ##################### End NON-BE switches ########################### */

/* ################## End MAINTENANCE switches ######################### */