Commit caa91ea0 authored by Sandesh Venkatesh's avatar Sandesh Venkatesh Committed by Manuel Jander
Browse files

Fix for 3GPP issue 1373: Decoder crash for stereo at 80kbps JBM decoding to...

Fix for 3GPP issue 1373: Decoder crash for stereo at 80kbps JBM decoding to Mono in get_scaling_quality_fx()

Link #1373
parent c76b22a8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -900,7 +900,7 @@ UWord8 apa_exec_ivas_fx(
    UWord32 statsResetThreshold, statsResetShift;
    Word16 Q_a_out;

    Q_a_out = add( getScaleFactor32_copy( a_in, L_mult0( ps->num_channels, APA_BUF_PER_CHANNEL ) ), Q11 - Q16 );
    Q_a_out = add( getScaleFactor32_copy( a_in, L_mult0( ps->num_channels, APA_BUF_PER_CHANNEL ) ), Q11 - Q16 - Q1 );
    statsResetThreshold = 1637;
    move32();
    statsResetShift = 2;