Commit 21bb6375 authored by Manuel Jander's avatar Manuel Jander
Browse files

Avoid assert failure.

parent 40e80132
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1186,7 +1186,7 @@ ivas_error acelp_core_enc_ivas_fx(
            IF( st->element_mode == EVS_MONO )
            {
#ifdef NONBE_FIX_ISSUE_2206
                assert( Q_new - 1 == 0 );
                Scale_sig( old_syn_12k8_16k, st->L_frame, sub( st->Q_syn, sub( Q_new, 1 ) ) );
#endif
                save_old_syn_fx( st->L_frame, syn1_fx, old_syn_12k8_16k, st->hBWE_FD->old_syn_12k8_16k_fx, st->preemph_fac, &st->hBWE_FD->mem_deemph_old_syn_fx );
            }
@@ -1521,7 +1521,7 @@ ivas_error acelp_core_enc_ivas_fx(
            IF( st->element_mode == EVS_MONO )
            {
#ifdef NONBE_FIX_ISSUE_2206
                assert( Q_new - 1 == 0 );
                Scale_sig( old_syn_12k8_16k, st->L_frame, sub( st->Q_syn, sub( Q_new, 1 ) ) );
#endif
                save_old_syn_fx( st->L_frame, syn_fx, old_syn_12k8_16k, st->hBWE_FD->old_syn_12k8_16k_fx, st->preemph_fac, &st->hBWE_FD->mem_deemph_old_syn_fx );
            }