Commit 7074dfe2 authored by multrus's avatar multrus
Browse files

add 1 bit extra headroom (as for Q_a_out)

parent f94c6dcb
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -965,7 +965,7 @@ UWord8 apa_exec_ivas_fx(
        Word16 a_tmp[APA_BUF];
        Word16 *buf_out_ptr = &( ps->buf_out_fx[ps->l_buf_out - ps->l_frm] );
#ifdef FIX1998_APA_EXEC_SCALING
        Word16 Q_buf_out_tmp = norm_arr( ps->buf_out_fx, ps->buf_out_capacity );
        Word16 Q_buf_out_tmp = sub( norm_arr( ps->buf_out_fx, ps->buf_out_capacity ), Q1 );

        Q_a_out = s_min( Q_a_out, Q_buf_out_tmp );
#else