diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-09-29 23:46:37 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-09-29 23:46:37 +0400 |
commit | 631eee6e90bafb5baf8dfff5d85bf774d940b1d8 (patch) | |
tree | d9b7eeb8132cdedd42e928e0e525cae7fdfc5285 /libavcodec/g723_1.c | |
parent | cb58adaaa303d74e4c132454301cf347e4f0c364 (diff) |
g723.1: use MULL(a,b,15) for MULL2()
idea by vitor
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/g723_1.c')
-rw-r--r-- | libavcodec/g723_1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/g723_1.c b/libavcodec/g723_1.c index e3c3b525ae..0aeea8798f 100644 --- a/libavcodec/g723_1.c +++ b/libavcodec/g723_1.c @@ -324,7 +324,7 @@ static void inverse_quant(int16_t *cur_lsp, int16_t *prev_lsp, * @param b 16 bit multiplier */ #define MULL2(a, b) \ - ((((a) >> 16) * (b) << 1) + (((a) & 0xffff) * (b) >> 15)) + MULL(a,b,15) /** * Convert LSP frequencies to LPC coefficients. |