Commit 8e60c68d authored by Anjaneyulu Sana's avatar Anjaneyulu Sana
Browse files

Merge branch '3gpp_issue_1477_fix_1' into 'main'

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

See merge request !1422
parents 519d8489 f47deccf
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();
        }
    }