Allcate more bits to CELT for stereo hybrid and don't force bits in the second CELT band
diff --git a/celt/rate.c b/celt/rate.c
index ca4cc87..599d018 100644
--- a/celt/rate.c
+++ b/celt/rate.c
@@ -358,7 +358,7 @@
#ifdef FUZZING
if ((rand()&0x1) == 0)
#else
- if (codedBands<=start+2 || (band_bits > (depth_threshold*band_width<<LM<<BITRES)>>4 && j<=signalBandwidth))
+ if (codedBands<=start+1 || (band_bits > (depth_threshold*band_width<<LM<<BITRES)>>4 && j<=signalBandwidth))
#endif
{
ec_enc_bit_logp(ec, 1, 1);
diff --git a/src/opus_encoder.c b/src/opus_encoder.c
index b89b874..694ff7e 100644
--- a/src/opus_encoder.c
+++ b/src/opus_encoder.c
@@ -816,7 +816,7 @@
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;
}