summaryrefslogtreecommitdiff
path: root/thirdparty/opus/silk/gain_quant.c
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/opus/silk/gain_quant.c')
-rw-r--r--thirdparty/opus/silk/gain_quant.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/thirdparty/opus/silk/gain_quant.c b/thirdparty/opus/silk/gain_quant.c
index ee65245aa3..64ccd0611b 100644
--- a/thirdparty/opus/silk/gain_quant.c
+++ b/thirdparty/opus/silk/gain_quant.c
@@ -76,7 +76,6 @@ void silk_gains_quant(
/* Accumulate deltas */
if( ind[ k ] > double_step_size_threshold ) {
*prev_ind += silk_LSHIFT( ind[ k ], 1 ) - double_step_size_threshold;
- *prev_ind = silk_min_int( *prev_ind, N_LEVELS_QGAIN - 1 );
} else {
*prev_ind += ind[ k ];
}