Commit eb4d7f6f authored by multrus's avatar multrus
Browse files

fix instrumentation

parent c172901c
Loading
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -131,10 +131,10 @@ static void arith_encode_bits(
    Word16 bit;

#ifdef FIX_2346_DUPLICATED_IGF_FUNCTIONS
    if ( EQ_16( element_mode, EVS_MONO ) )
    IF( EQ_16( element_mode, EVS_MONO ) )
    {
#endif
        for ( i = nBits - 1; i >= 0; --i ) /* nBits > 0 */
        FOR( i = nBits - 1; i >= 0; --i ) /* nBits > 0 */
        {
            bit = s_and( shr( x, i ), 1 );
            hPrivateData->ptrBitIndex = ari_encode_14bits_sign_fx( ptr, hPrivateData->ptrBitIndex, MAX16B /* disable the bit count limitation */, &hPrivateData->acState_fx, bit );
@@ -142,9 +142,9 @@ static void arith_encode_bits(
        }
#ifdef FIX_2346_DUPLICATED_IGF_FUNCTIONS
    }
    else
    ELSE
    {
        for ( i = nBits - 1; i >= 0; --i ) /* nBits > 0 */
        FOR( i = nBits - 1; i >= 0; --i ) /* nBits > 0 */
        {
            bit = s_and( shr( x, i ), 1 );
            hPrivateData->ptrBitIndex = ari_encode_14bits_sign_ivas_fx( ptr, hPrivateData->ptrBitIndex, MAX16B /* disable the bit count limitation */, &hPrivateData->acState, bit );