diff options
author | Brad Midgley <bmidgley@xmission.com> | 2007-10-17 07:36:25 +0000 |
---|---|---|
committer | Brad Midgley <bmidgley@xmission.com> | 2007-10-17 07:36:25 +0000 |
commit | f06a303b02c9188efd7cb00c2cce19b14098874b (patch) | |
tree | 13fdf5f75e3a6fa6b2133bbd226097faaa9f6a6b /sbc/sbc.c | |
parent | 3571ae843629585caf996c73200bbbfd05c260a6 (diff) |
8-subband encoder had a sign error that made high frequencies noisy
Diffstat (limited to 'sbc/sbc.c')
-rw-r--r-- | sbc/sbc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -889,7 +889,7 @@ static inline void _sbc_analyze_eight(const int32_t *in, int32_t *out) out[2] = SCALE8_STAGE2( s[1] - s[3] + s[5] - s[6]); out[3] = SCALE8_STAGE2(-s[0] + s[1] + s[3] + s[7]); out[4] = SCALE8_STAGE2(-s[0] + s[1] + s[3] - s[7]); - out[5] = SCALE8_STAGE2( s[1] - s[3] - s[5] + s[6]); + out[5] = SCALE8_STAGE2( s[1] - s[3] - s[5] - s[6]); out[6] = SCALE8_STAGE2( s[1] - s[3] - s[4] + s[6]); out[7] = SCALE8_STAGE2( s[0] + s[1] - s[2] + s[3]); } |