Commit e4e68a27 authored by vaclav's avatar vaclav
Browse files

fix old_syn_12k8_16k_fx[]

parent 4bc1b798
Loading
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -849,9 +849,18 @@ ivas_error acelp_core_dec_ivas_fx(
            Copy_Scale_sig( syn1_fx, temp_buf_fx, st->L_frame, sub( -1, st->Q_syn ) ); // Q_syn
            IF( st->hBWE_FD != NULL )
            {
#ifdef REMOVE_EVS_DUPLICATES
                IF( EQ_16( st->element_mode, EVS_MONO ) ) // VE: TBV: tmp hack - this is likely a bug in IVAS
                {
                    save_old_syn_fx( st->L_frame, temp_buf_fx, old_syn_12k8_16k_fx, st->hBWE_FD->old_syn_12k8_16k_fx, st->preemph_fac, &st->hBWE_FD->mem_deemph_old_syn_fx );
                }
                ELSE
#endif
                {
                    save_old_syn_fx( st->L_frame, syn1_fx, old_syn_12k8_16k_fx, st->hBWE_FD->old_syn_12k8_16k_fx, st->preemph_fac, &st->hBWE_FD->mem_deemph_old_syn_fx );
                }
            }
        }

        /*----------------------------------------------------------------*
         * Decoding of all other frames