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

Fix for 3GPP issue 1780: ParamISM4 at 32kbps EXT Decoder output at 16kHz is zero

Link #1780
parent 86e64776
Loading
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -1339,14 +1339,14 @@ void ivas_ism_param_dec_tc_gain_ajust_fx(
        {
            gain_fx = 0;
            move16();
            tmp_e1 = 31;
            tmp_e1 = 0;
            move16();
        }
        ELSE
        { /*handling denominator equals to zero*/
            gain_fx = 1;
        ELSE /*handling denominator equals to zero*/
        {
            gain_fx = 32767; //(max value of Word16 in Q0)
            move16();
            tmp_e1 = -32767; //(-1.0f in Q15) + 1
            tmp_e1 = 15;
            move16();
        }
    }