aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/opus_encoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opus_encoder.c b/src/opus_encoder.c
index b89b874b..694ff7e3 100644
--- a/src/opus_encoder.c
+++ b/src/opus_encoder.c
@@ -816,7 +816,7 @@ static int compute_silk_rate_for_hybrid(int rate, int bandwidth, int frame20ms,
silk_rate *= channels;
/* The CELT layer saves a bit more than SILK for stereo, so we boost SILK. */
if (channels == 2 && rate >= 12000)
- silk_rate += 1000;
+ silk_rate -= 1000;
return silk_rate;
}