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

Update to Q for fixing crash with +10dB inputs.

parent 6f454403
Loading
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -311,10 +311,10 @@ void ivas_mct_core_dec(

            FOR( Word16 j = 0; j < L_FRAME48k / 2; j++ )
            {
                x_fx[ch][0][j] = (Word32) ( x[ch][0][j] * ONE_IN_Q16 );
                x_fx[ch][1][j] = (Word32) ( x[ch][1][j] * ONE_IN_Q16 );
                x_fx[ch][0][j] = (Word32) ( x[ch][0][j] * ONE_IN_Q15 );
                x_fx[ch][1][j] = (Word32) ( x[ch][1][j] * ONE_IN_Q15 );
            }
            q_x[ch] = Q16;
            q_x[ch] = Q15;
        }

        apply_MCT_dec_fx( hMCT, sts, x_fx, q_x );