Commit f47deccf authored by Anjaneyulu Sana's avatar Anjaneyulu Sana
Browse files

Fix for 3GPP issue 1477: Encoder crash (assert) in ISM1, HQ core fine gain quantization

parent 519d8489
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -565,7 +565,7 @@ void fine_gain_quant_fx(
            exp1 = sub( 14, exp1 );

            L_tmp = L_mult0( fg_pred[band], tmp1 );                              /*12+exp1 */
            fg_pred[band] = round_fx( L_shl( L_tmp, sub( 16, exp1 ) ) ); /*12+exp1+16-exp1-16=12 */
            fg_pred[band] = round_fx_sat( L_shl_sat( L_tmp, sub( 16, exp1 ) ) ); /*12+exp1+16-exp1-16=12 */
            move16();
        }
    }