Commit e4f5ffeb authored by fotopoulou's avatar fotopoulou
Browse files

[fix] under FIX_I13_TCX_TNS_ISSUE for cases where coded bandwidth is lower than output bandwidth

parent 52f6c004
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1559,7 +1559,7 @@ void decoder_tcx_tns(
#ifndef FIX_I13_TCX_TNS_ISSUE
            tcx5TnsUngrouping( L_frameTCX >> 1, hTcxCfg->tnsConfig[0][0].iFilterBorders[0] >> 1, x, DEC );
#else
            if ( st->element_mode == EVS_MONO ) /* TBC: this is temporary to maintain EVS BE, this is a bug and should be fixed also for EVS (see issue 13) */
            if ( st->element_mode == EVS_MONO || L_spec < L_frameTCX ) /* TBC: this is temporary to maintain EVS BE, this is a bug and should be fixed also for EVS (see issue 13) */
            {
                tcx5TnsUngrouping( L_frameTCX >> 1, hTcxCfg->tnsConfig[0][0].iFilterBorders[0] >> 1, x, DEC );
            }