Word32gc_mem[NB_SUBFR-1];/* gain_code from previous subframes */
Word16gp_mem[NB_SUBFR-1];/* gain_pitch from previous subframes */
#ifndef ISSUE_1866_replace_overflow_libdec
#ifdef BASOP_NOGLOB_DECLARE_LOCAL
FlagOverflow=0;
move32();
#endif
#endif
use_fcb=0;
@@ -248,7 +250,11 @@ void dec_pit_exc_fx(
gain_pit_fx=st_fx->lp_gainp_fx;
move16();
}
#ifndef ISSUE_1866_replace_overflow_libdec
gain_code_fx=L_mult0(s_max(sub(32767,shl_o(gain_pit_fx,1,&Overflow)),16384/*0.5.Q15*/),st_fx->lp_gainc_fx);/* Use gain pitch and past gain code as an indicator to help finding the best scaling value. gain_code_fx used a temp var*/
#else
gain_code_fx=L_mult0(s_max(sub(32767,shl_sat(gain_pit_fx,1)),16384/*0.5.Q15*/),st_fx->lp_gainc_fx);/* Use gain pitch and past gain code as an indicator to help finding the best scaling value. gain_code_fx used a temp var*///??sat