Commit 4c779b86 authored by multrus's avatar multrus
Browse files

[cleanup] accept FIX_BASOP_2317_UNINIT_VALUE_IN_STEREO_CNG

parent bd85838d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -168,7 +168,6 @@
/* #################### Start NON-BE switches ############################ */
/* any switch which is non-be wrt. TS 26.258 V3.0 */
#define FIX_1465_SWB_TBE_RANDOM_VECTOR_CREATION         /* Dolby: issue 1465: Fix constant in create_random_vector() to allow more reliable fixed point port */
#define FIX_BASOP_2317_UNINIT_VALUE_IN_STEREO_CNG       /* Eri: Basop issue 2317: Uninitialized value read in case of DTX and BW switching   */
#define FIX_1283_STEREO_DFT_COLLAPSE                    /* FhG: issue 1283: fix for critical issue with DFT stereo core coder */
#define FIX_BASOP_2396_CONSTANT_STRIDE_IN_TC_BUFFER     /* FhG/VA: basop issue 2396: keep TC channel pointers in one constant place during decoding and rendering */
/* ##################### End NON-BE switches ########################### */
+0 −5
Original line number Diff line number Diff line
@@ -2980,14 +2980,9 @@ static void stereo_dft_enc_compute_prm(
    /*------------------------------------------------------------------*
     * Compute Side gains
     *-----------------------------------------------------------------*/
#ifdef FIX_BASOP_2317_UNINIT_VALUE_IN_STEREO_CNG
    mvr2r( pSideGain, hStereoDft->sidSideGain, STEREO_DFT_BAND_MAX ); /* Copy all sideGain values since BW change may be reverted during CNG */
#endif
    for ( b = 0; b < hStereoDft->nbands; b++ )
    {
#ifndef FIX_BASOP_2317_UNINIT_VALUE_IN_STEREO_CNG
        hStereoDft->sidSideGain[b] = *( pSideGain + b );
#endif
        /* Quantization */
        if ( flag_quant )
        {