Commit 411f26ec authored by Manuel Jander's avatar Manuel Jander
Browse files

Add missing initialization of old_input_q, found by @vaclav.

parent 49f505cb
Loading
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -3127,6 +3127,10 @@ void fd_bwe_enc_init_fx(
    hBWE_FD->Q_new_input_hp = 0;
    move16();
    set16_fx( hBWE_FD->old_input_fx, 0, NS2SA( 48000, DELAY_FD_BWE_ENC_12k8_NS + DELAY_FIR_RESAMPL_NS ) );
#ifdef NONBE_FIX_ISSUE_2206
    hBWE_FD->old_input_q = Q15;
    move16();
#endif
    set16_fx( hBWE_FD->old_input_wb_fx, 0, NS2SA( 16000, DELAY_FD_BWE_ENC_12k8_NS ) );
    set16_fx( hBWE_FD->old_input_lp_fx, 0, NS2SA( 16000, ACELP_LOOK_NS + DELAY_FD_BWE_ENC_NS ) );
    set16_fx( hBWE_FD->old_syn_12k8_16k_fx, 0, NS2SA( 16000, DELAY_FD_BWE_ENC_NS ) );