Commit 4e815c1a authored by thomas dettbarn's avatar thomas dettbarn
Browse files

indentation problem due to return inside if statement.

parent cae30551
Loading
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -1228,6 +1228,7 @@ Word16 RCcontextMapping_encode2_estimate_no_mem_s17_LCS_fx(
    CONTEXT_HM_CONFIG *hm_cfg /* context-based harmonic model configuration */
)
{
    Word16 retval;
    /* Common variables */
    Word16 a1, b1;
    Word16 k, pki, lev1;
@@ -1239,6 +1240,8 @@ Word16 RCcontextMapping_encode2_estimate_no_mem_s17_LCS_fx(
    Word16 symbol;
    const UWord8 *lookup;
    Word64 nbits2_accu;
    retval = 0;
    move16();

    /* Initialization */
    bit_estimate_fx = MAKE_NUMBER_QX( 2, Q23 );
@@ -1458,7 +1461,7 @@ Word16 RCcontextMapping_encode2_estimate_no_mem_s17_LCS_fx(
        move16();


        return round_fx( L_add( W_shr( nbits2_accu, Q7 ), ONE_IN_Q14 ) ); /* Q0 */
        retval = round_fx( L_add( W_shr( nbits2_accu, Q7 ), ONE_IN_Q14 ) ); /* Q0 */
    }
    ELSE /* if (!hm_cfg) */
    {
@@ -1631,9 +1634,9 @@ Word16 RCcontextMapping_encode2_estimate_no_mem_s17_LCS_fx(
            }
        }

        return tot_bits2;
        retval = tot_bits2;
    }
    return 0;
    return retval;
}