Commit 86761531 authored by Jan Kiene's avatar Jan Kiene
Browse files

sanity check for assert capture

parent a16ec4a7
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ Word16 Log2_norm_lc( /* (o) : Fractional part of Log2. (range: 0<=val
#else

    if ( L_x > 0 )   /* There are many cases in the code where L_x == 0 */
        assert( L_x >= 0x40000000 ); /* If assert fail, means input is not normalized as it should be */
        assert( 0 ); /* If assert fail, means input is not normalized as it should be */
    L_x = L_max( L_x, 0x40000000 );
#endif
    L_x = L_shr( L_x, 9 );