diff --git a/src/libFLAC/bitmath.c b/src/libFLAC/bitmath.c index 1deed61c..4543ccbe 100644 --- a/src/libFLAC/bitmath.c +++ b/src/libFLAC/bitmath.c @@ -93,7 +93,8 @@ unsigned FLAC__bitmath_silog2(int v) return 2; } else { - v = -(++v); + v++; + v = -v; } } }