summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad Midgley <bmidgley@xmission.com>2007-10-04 08:08:59 +0000
committerBrad Midgley <bmidgley@xmission.com>2007-10-04 08:08:59 +0000
commitaaad5f279f2fc2156799ebc6d171a76113724de4 (patch)
treed8dd5001102598d0c47d84c0d9a8c05097097519
parent6ee3949547dfad9aadc975646f455bde96ae06c6 (diff)
off-by-one problem in 8 subband optimization
-rw-r--r--sbc/sbc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbc/sbc.c b/sbc/sbc.c
index 1cf83329..25244e0d 100644
--- a/sbc/sbc.c
+++ b/sbc/sbc.c
@@ -1008,8 +1008,8 @@ static inline void _sbc_analyze_eight(const int32_t *in, int32_t *out)
MUL(s[0], _anamatrix8[0], t[0]);
MULA(s[0], _anamatrix8[1], t[6]);
MUL(s[1], _anamatrix8[7], t[1]);
- MUL(s[2], _anamatrix8[2], t[3]);
- MULA(s[2], _anamatrix8[3], t[4]);
+ MUL(s[2], _anamatrix8[2], t[2]);
+ MULA(s[2], _anamatrix8[3], t[3]);
MULA(s[2], _anamatrix8[4], t[5]);
MULA(s[2], _anamatrix8[5], t[7]);
MUL(s[3], _anamatrix8[6], t[4]);