Commit 3fcb6e83 authored by vaclav's avatar vaclav
Browse files

fix NB PF - tmp hack

parent 42762397
Loading
Loading
Loading
Loading
Loading
+12 −1
Original line number Diff line number Diff line
@@ -1498,7 +1498,18 @@ ivas_error acelp_core_dec_ivas_fx(
    test();
    IF( st->last_bwidth == NB && st->hPFstat != NULL )
    {
        Copy( pitch_buf_fx, pitch_buf_tmp, NB_SUBFR16k );
#ifdef REMOVE_EVS_DUPLICATES
        IF( EQ_16( st->element_mode, EVS_MONO ) )
        {
            Copy_Scale_sig( pitch_buf_fx, pitch_buf_tmp, st->nb_subfr, -Q6 );
        }
        ELSE
#endif
        {
            // VE: TBV: tmp hack - this is a bug in IVAS
            Copy( pitch_buf_fx, pitch_buf_tmp, st->nb_subfr );
        }

        IF( st->bwidth == NB )
        {
            st->hPFstat->on = 1;