summaryrefslogtreecommitdiff
path: root/src/libac3/dither.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libac3/dither.h')
-rw-r--r--src/libac3/dither.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libac3/dither.h b/src/libac3/dither.h
index abb9f518e..1a605ee14 100644
--- a/src/libac3/dither.h
+++ b/src/libac3/dither.h
@@ -27,11 +27,11 @@ extern const uint16_t dither_lut[256];
static inline uint16_t dither_gen(void)
{
- int16_t state;
+ int16_t state;
- state = dither_lut[lfsr_state >> 8] ^ (lfsr_state << 8);
+ state = dither_lut[lfsr_state >> 8] ^ (lfsr_state << 8);
- lfsr_state = (uint16_t) state;
+ lfsr_state = (uint16_t) state;
- return ((state * (int32_t) (0.707106 * 256.0))>>8);
+ return ((state * (int32_t) (0.707106 * 256.0))>>8);
}