Commit 3e845c7a authored by Sandesh Venkatesh's avatar Sandesh Venkatesh
Browse files

Merge branch '3gpp_issue_957_fix' into 'main'

Fix for 3GPP issue 957: Assertion error in BWE of SCE decoding in OMASA

See merge request !714
parents 8a05cf9b 0c144928
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3005,7 +3005,8 @@ void hq_generic_decoding_fx(
    {
        FOR( tmp3_fx = 5120; tmp3_fx > 1024; tmp3_fx -= 512 )
        {
            L_tmp1 = L_shl( Mult_32_16( *pit1_fx, tmp3_fx ), 5 ); /*15 + 5 + 10 -15 */
            /* Adding saturation suggested as fix for issue #957 */
            L_tmp1 = L_shl_sat( Mult_32_16( *pit1_fx, tmp3_fx ), 5 ); /*15 + 5 + 10 -15 */
            *pit1_fx-- = L_tmp1;
            move32();
        }