Commit 2d8aeb76 authored by vaclav's avatar vaclav
Browse files

fix EVS VBR mode within NONBE_FIX_797_OMASA_INACTIVE_SEP_OBJ

parent 62fc2405
Loading
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -156,7 +156,6 @@ void decision_matrix_enc(
        }
        else if ( ( ( st->coder_type == UNVOICED || st->coder_type == TRANSITION ) && !st->sp_aud_decision1 ) || st->bwidth != NB )
        {

            if ( st->coder_type == UNVOICED && st->vad_flag == 1 && ( ( st->last_bwidth >= SWB && st->last_Opt_SC_VBR ) || st->last_bwidth < SWB ) && ( st->last_core != HQ_CORE || st->bwidth != NB ) )
            {
                /* NELP mode */
@@ -171,6 +170,11 @@ void decision_matrix_enc(
            }
        }

#ifdef NONBE_FIX_797_OMASA_INACTIVE_SEP_OBJ
        /* set inactive coder_type flag in ACELP core to GSC */
        st->inactive_coder_type_flag = 1;
#endif

        return;
    }