Commit 6f642c0d authored by vaclav's avatar vaclav
Browse files

use complexity fix from MR 405 instead of SBA_BR_SWITCHING_COMPLEXITY_FIX

parent 36b503d9
Loading
Loading
Loading
Loading
+1 −9
Original line number Diff line number Diff line
@@ -329,9 +329,6 @@ ivas_error ivas_sba_enc_reconfigure(
    int32_t ivas_total_brate;
    ivas_error error;
    ENCODER_CONFIG_HANDLE hEncoderConfig;
#ifdef SBA_BR_SWITCHING_COMPLEXITY_FIX
    int16_t flag_spar_opened = 0;
#endif

    error = IVAS_ERR_OK;

@@ -364,9 +361,6 @@ ivas_error ivas_sba_enc_reconfigure(
                    return error;
                }

#ifdef SBA_BR_SWITCHING_COMPLEXITY_FIX
                flag_spar_opened = 1;
#endif
                // VE: TBV - populate 'hSpar->hFrontVad' with 'hCoreCoder[0]' instead of resetting it to init-state?
            }

@@ -405,9 +399,7 @@ ivas_error ivas_sba_enc_reconfigure(
                    hDirAC->hFbMixer = NULL;
                }

#ifdef SBA_BR_SWITCHING_COMPLEXITY_FIX
                if ( flag_spar_opened == 0 )
#endif
                if ( sba_mode_old == SBA_MODE_SPAR )
                {
                    // VE: dirty patch -> reconfiguration of SPAR MD, TD_decorr, FbMixer modules should be used instead !!