Commit 0a0ccf7a authored by Fabian Bauer's avatar Fabian Bauer
Browse files

just cosmethics

parent 3fa268c8
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -525,8 +525,7 @@ Word16 corr_xy1_fx( /* o : pitch gain (0..GAIN_PIT_MAX)
        gain = shl_sat( gain, i ); /* saturation can occur here */

        /*
                Theres only to solve 32767 = x * 2 ^ y, if y is an integer : x = 32767 and y = 0
                y == 0 is possible,  x == 32767 is impossible
                Theres only one x, to solve 32767 = x * 2 ^ y, if y is an integer : x = 32767 and y = 0 .
                So we can assume a saturated overflow, if gain == 32767 and one of the two conditions is false: x == 32767 or y == 0
        */
        Overflow = ( gain == MAX_16 && i != 0 ) ? 1 : 0;