Commit d2ddbc82 authored by Manuel Jander's avatar Manuel Jander
Browse files

Another mistake in DFT residual scale.

parent 741324b8
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1248,7 +1248,7 @@ ivas_error ivas_cpe_enc_fx(
#if ( CPE_CHANNELS != 2 )
#error
#endif
            Copy_Scale_sig_16_32_no_sat( old_inp_12k8_16fx[0], old_inp_12k8_fx[0], L_INP_12k8, sub( Q15, sts[0]->q_inp ) ); // st->q_inp -> Q15
            Copy_Scale_sig_16_32_no_sat( old_inp_12k8_16fx[0], old_inp_12k8_fx[0], L_INP_12k8, sub( Q15 + 1, Q_new[0]) ); // Q_new[0]-1 -> Q15
            Copy_Scale_sig_16_32_no_sat( old_inp_12k8_16fx[1], old_inp_12k8_fx[1], L_INP_12k8, Q15 + 1 );                 // Q(-1) -> Q15
#else
            FOR( Word16 i = 0; i < CPE_CHANNELS; i++ )