diff options
author | Brad Midgley <bmidgley@xmission.com> | 2008-01-27 04:29:08 +0000 |
---|---|---|
committer | Brad Midgley <bmidgley@xmission.com> | 2008-01-27 04:29:08 +0000 |
commit | d352bd04383f1c1a5ec17e267cb8d0ce70720519 (patch) | |
tree | 1b244a7377e0ddd9ac70b35d998b204488aeb522 /sbc/sbc.c | |
parent | c2ce7c2d410cfb0e67c1635ebf60fc06ae864f33 (diff) |
avoid an (unlikely) overflow
Diffstat (limited to 'sbc/sbc.c')
-rw-r--r-- | sbc/sbc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -715,8 +715,8 @@ static inline void _sbc_analyze_four(const int16_t *in, int32_t *out) sbc_fixed_t t[8]; sbc_extended_t s[5]; - MUL32(res, _sbc_proto_4[0], (in[8] - in[32])); /* Q18 */ - MULA32(res, _sbc_proto_4[1], (in[16] - in[24])); + MUL(res, _sbc_proto_4[0], in[8] - in[32]); /* Q18 */ + MULA(res, _sbc_proto_4[1], in[16] - in[24]); t[0] = SCALE4_STAGE1(res); /* Q8 */ MUL32(res, _sbc_proto_4[2], in[1]); |