Commit f7e88b43 authored by Sandesh Venkatesh's avatar Sandesh Venkatesh
Browse files

Merge branch '3gpp_issue_1344_fix' into 'main'

Fix for 3GPP issue 1344: Decoder segfault for Stereo at 24.4kbps in ivas_fec_noise_filling_fx()

See merge request !1222
parents 2c56cab4 caec0b36
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -4598,7 +4598,7 @@ static void ivas_fec_noise_filling_fx(
        q2 = round_fx( L_sub( 2147483647, L_tmp ) );                                          /*Q15 */
        q1 = round_fx( L_tmp );                                                               /*Q15 */
        L_tmp = L_mult( ( *pt1 ), q1 );                                                       /*Qsynth+16 */
        L_tmp = L_mac( L_tmp, shr( *pt6++, Q_old_out ), q2 ); /*Qsynth+16 */
        L_tmp = L_add( L_tmp, L_shr( Mpy_32_16_1( L_deposit_h( *pt6++ ), q2 ), Q_old_out ) ); /*Qsynth+16 */
        ( *pt1++ ) = round_fx( L_tmp );                                                       /*Qsynth */
        move16();
    }