Commit a5263b24 authored by thomas dettbarn's avatar thomas dettbarn
Browse files

replaced div25 with equivalent *5243 >> 17.

parent a278b3f6
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ void initFdCngEnc_fx(
    move16();
    hsCom->numCoreBands = 16;
    move16();
    hsCom->regularStopBand = idiv1616U( extract_l( L_shr( input_Fs, 5 ) ), 25 ); /* Q0 */
    hsCom->regularStopBand = extract_l( L_shr( imult3216( 5243, L_shr( input_Fs, 5 ) ), 17 ) ); /* Q0. equivalent to L_shr( input_Fs, 5 )/25 */
    move16();
    if ( GT_16( hsCom->regularStopBand, 40 ) )
    {