aboutsummaryrefslogtreecommitdiff
path: root/silk
diff options
context:
space:
mode:
authorGregory Maxwell <greg@xiph.org>2013-07-15 15:51:24 -0700
committerGregory Maxwell <greg@xiph.org>2013-07-15 15:51:24 -0700
commit5280c71883e4a2d072d6f69ab7c9b6dc7ace66dc (patch)
tree71052cb37fb1bcc0d9778131f21b836e0acbcb55 /silk
parent4effd308828dd6bbbd1ad210c63d6518161b640d (diff)
downloadlibopus-5280c71883e4a2d072d6f69ab7c9b6dc7ace66dc.tar.gz
Revert "Fixes a number of double promotions and missing casts."
This reverts commit 43279728cd39947f95dbf77557a0a698f164fdd1.
Diffstat (limited to 'silk')
-rw-r--r--silk/NLSF2A.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/silk/NLSF2A.c b/silk/NLSF2A.c
index ab65614f..f9a09b0d 100644
--- a/silk/NLSF2A.c
+++ b/silk/NLSF2A.c
@@ -163,7 +163,7 @@ void silk_NLSF2A(
}
for( i = 0; i < MAX_LPC_STABILIZE_ITERATIONS; i++ ) {
- if( silk_LPC_inverse_pred_gain( a_Q12, d ) < SILK_FIX_CONST( 1.0f / MAX_PREDICTION_POWER_GAIN, 30 ) ) {
+ if( silk_LPC_inverse_pred_gain( a_Q12, d ) < SILK_FIX_CONST( 1.0 / MAX_PREDICTION_POWER_GAIN, 30 ) ) {
/* Prediction coefficients are (too close to) unstable; apply bandwidth expansion */
/* on the unscaled coefficients, convert to Q12 and measure again */
silk_bwexpander_32( a32_QA1, d, 65536 - silk_LSHIFT( 2, i ) );