Commit 17ea12b3 authored by Vidhya V P's avatar Vidhya V P
Browse files

Moved a change to under the switch

parent 9cee6567
Loading
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -396,9 +396,12 @@ ivas_error front_vad_spar(

    hFrontVad = hSpar->hFrontVad;
    st = hSpar->hCoreCoderVAD;

#ifdef SBA_BR_SWITCHING_RECONFIG
    if ( hEncoderConfig->Opt_DTX_ON && hEncoderConfig->ivas_total_brate <= SBA_DTX_BITRATE_THRESHOLD &&
         hEncoderConfig->ivas_total_brate == hEncoderConfig->last_ivas_total_brate )
#else
    if ( hEncoderConfig->Opt_DTX_ON && hEncoderConfig->ivas_total_brate <= SBA_DTX_BITRATE_THRESHOLD )
#endif
    {
        /*------------------------------------------------------------------*
         * Initialization