diff options
author | Timothy B. Terriberry <tterribe@xiph.org> | 2014-10-03 21:49:57 -0700 |
---|---|---|
committer | Timothy B. Terriberry <tterribe@xiph.org> | 2014-10-03 21:49:57 -0700 |
commit | 554b349cdb50c15a227407d2845787e4c940651b (patch) | |
tree | 93280addec7da80814403c7a0352c19032bd1270 /silk/log2lin.c | |
parent | 020a0a48d5fdbfae76b2db26ad5d65c39efad6ad (diff) | |
download | opus-554b349cdb50c15a227407d2845787e4c940651b.tar.gz |
There are no tabs in source code.
There is also no trailing whitespace.
Diffstat (limited to 'silk/log2lin.c')
-rw-r--r-- | silk/log2lin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/silk/log2lin.c b/silk/log2lin.c index a692e009..b7c48e47 100644 --- a/silk/log2lin.c +++ b/silk/log2lin.c @@ -33,7 +33,7 @@ POSSIBILITY OF SUCH DAMAGE. /* Approximation of 2^() (very close inverse of silk_lin2log()) */ /* Convert input to a linear scale */ -opus_int32 silk_log2lin( +opus_int32 silk_log2lin( const opus_int32 inLog_Q7 /* I input on log scale */ ) { @@ -42,8 +42,8 @@ opus_int32 silk_log2lin( if( inLog_Q7 < 0 ) { return 0; } else if ( inLog_Q7 >= 3967 ) { - return silk_int32_MAX; - } + return silk_int32_MAX; + } out = silk_LSHIFT( 1, silk_RSHIFT( inLog_Q7, 7 ) ); frac_Q7 = inLog_Q7 & 0x7F; |