diff options
Diffstat (limited to 'media/libopus/silk/lin2log.c')
-rw-r--r-- | media/libopus/silk/lin2log.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libopus/silk/lin2log.c b/media/libopus/silk/lin2log.c index d4fe515321..0d5155aa86 100644 --- a/media/libopus/silk/lin2log.c +++ b/media/libopus/silk/lin2log.c @@ -41,6 +41,6 @@ opus_int32 silk_lin2log( silk_CLZ_FRAC( inLin, &lz, &frac_Q7 ); /* Piece-wise parabolic approximation */ - return silk_LSHIFT( 31 - lz, 7 ) + silk_SMLAWB( frac_Q7, silk_MUL( frac_Q7, 128 - frac_Q7 ), 179 ); + return silk_ADD_LSHIFT32( silk_SMLAWB( frac_Q7, silk_MUL( frac_Q7, 128 - frac_Q7 ), 179 ), 31 - lz, 7 ); } |