Commit 102e729f authored by vaillancour's avatar vaillancour
Browse files

Propose fix to 871 that solves incorrect frame classification of the secondary...

Propose fix to 871 that solves incorrect frame classification of the secondary channel of the TD stereo
parent 3aa2ac58
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -179,7 +179,7 @@

#define FIX_869_WRONG_UVGAIN_STEP               /* VA: Fix wrong decoding of uv gain quantizer for td-stereo*/


#define FIX_871_REMOVE_UNNECESSARY_CONDITION    /* VA: remove a condition that is not needed and prevented correct frame classification of the secondary channel of the TD stereo */
/* ################## End DEVELOPMENT switches ######################### */

/* clang-format on */
+2 −0
Original line number Diff line number Diff line
@@ -471,9 +471,11 @@ void FEC_clas_estim_fx(
            /*------------------------------------------------------------------------*
             * frame classification
             *------------------------------------------------------------------------*/
#ifndef FIX_871_REMOVE_UNNECESSARY_CONDITION
            test();
            test();
            IF( ( NE_16( coder_type, VOICED ) && LT_32( bitrate, ACELP_11k60 ) ) || Opt_AMR_WB )
#endif
            {
                Word16 result = UNVOICED_CLAS;
                move16();