Commit d1225c4d authored by Nicolas Roussin's avatar Nicolas Roussin
Browse files

Fix common left shift initial value.

parent a8316e76
Loading
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -3999,8 +3999,9 @@ static void matrixTransp1Mul_fx(
    Word64 tmp_outIm_fx[BINAURAL_CHANNELS][BINAURAL_CHANNELS];
#ifdef OPT_2181_MATRIX_TRANSP_1_MUL
    Word64 tmp64;
    Word16 common_lsh;
    common_lsh = 63;
    Word16 common_lsh, q;
    q = add( add( q_A, q_B ), 1 );
    common_lsh = sub( 63, q );
    move16();

    FOR( chA = 0; chA < BINAURAL_CHANNELS; chA++ )
@@ -4032,7 +4033,7 @@ static void matrixTransp1Mul_fx(
            move32();
        }
    }
    *q_out = sub( add( add( add( q_A, q_B ), 1 ), common_lsh ), 32 );
    *q_out = sub( add( q, common_lsh ), 32 );
    move16();
#else
    Word16 q_tmp_outRe_fx[BINAURAL_CHANNELS][BINAURAL_CHANNELS];