Commit 0c098005 authored by fotopoulou's avatar fotopoulou
Browse files

fix if condition

parent 409201ea
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -991,7 +991,7 @@ ivas_error ivas_cpe_enc_fx(
#ifdef FIX_1411_IGF_CRASH_BW_SWITCHING
    test();
    test();
    IF( NE_16( ( EQ_32( sts[0]->core_brate, SID_2k40 ) || EQ_32( sts[0]->core_brate, FRAME_NO_DATA ) ), 0 ) ) /* Reconfigurations not needed with DTX*/
    IF( NE_32( sts[0]->core_brate, SID_2k40 ) && NE_32( sts[0]->core_brate, FRAME_NO_DATA ) ) /* Reconfigurations not needed with DTX*/
    {
#endif
        test();
@@ -1012,6 +1012,7 @@ ivas_error ivas_cpe_enc_fx(
                test();
                test();
                hCPE->hStereoMdct->isSBAStereoMode = ( ( EQ_16( ivas_format, SBA_FORMAT ) || EQ_16( ivas_format, SBA_ISM_FORMAT ) ) && ( EQ_16( st_ivas->nchan_transport, 2 ) ) ); /* Q0 */
                move16();

                test();
                IF( LE_32( hCPE->element_brate, MAX_MDCT_ITD_BRATE ) && EQ_16( ivas_format, STEREO_FORMAT ) )
@@ -1053,6 +1054,7 @@ ivas_error ivas_cpe_enc_fx(
                    move16();
                }
                igf = getIgfPresent_fx( sts[n]->element_mode, L_mult0( sts[n]->bits_frame_nominal, FRAMES_PER_SEC ), bw, sts[n]->rf_mode ); /* Q0 */
                move16();
#ifdef FIX_1413_IGF_INIT_PRINTOUT
                IF( ( error = IGF_Reconfig_fx( &sts[n]->hIGFEnc, igf, 0, L_mult0( sts[n]->bits_frame_nominal, FRAMES_PER_SEC ), bw, sts[n]->element_mode, sts[n]->rf_mode ) ) != IVAS_ERR_OK )
#else