Commit a628d9be authored by multrus's avatar multrus
Browse files

[cleanup] accept FIX_2440_AGC_PRESCALING

parent a2f20d29
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -102,7 +102,6 @@
/* any switch which is non-be wrt. TS 26.251 V3.0 */

#define FIX_2448_RENDERER_MSAN_ERROR                    /* FhG: basop issue 2448: fix MSAN error with MSA rendering */
#define FIX_2440_AGC_PRESCALING                         /* FhG: basop issue 2440: Fix loop bounds when scaling p_output_fx before ivas_spar_dec_agc_pca_fx() */
#define FIX_2471_REMOVE_POSSIBLE_OVRF                   /* VA: basop issue 2471: correcting undesired overflow */
#define FIX_2465_Q_BWE_EXC                              /* VA: basop issue 2465: fix calculation of Q_bwe_exc in SWB TBE encoder */
#define FIX_2436_CLDFBANAHANDLE_ADRESS                  /* FhG: cldfb handle pointer were handed over in faulty manner*/
+0 −4
Original line number Diff line number Diff line
@@ -629,13 +629,9 @@ ivas_error ivas_dec_fx(
        ELSE IF( NE_32( st_ivas->renderer_type, RENDERER_DISABLE ) && st_ivas->sba_dirac_stereo_flag == 0 )
        {
            Word16 size = add( st_ivas->hSpar->hMdDec->spar_md_cfg.nchan_transport, sba_ch_idx );
#ifdef FIX_2440_AGC_PRESCALING
            // For nchan_transport = 3, the fourth input audio channel in ivas_spar_dec_agc_pca_fx() is also used,
            // so one additional channel must be aligned to Q14.
            if ( EQ_16( st_ivas->hSpar->hMdDec->spar_md_cfg.nchan_transport, 3 ) )
#else
            if ( EQ_16( size, 3 ) )
#endif
            {
                size = add( size, 1 );
            }