summaryrefslogtreecommitdiff
path: root/media/libopus/silk/stereo_LR_to_MS.c
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-05-04 17:03:37 +0000
committerMoonchild <moonchild@palemoon.org>2022-05-04 17:03:37 +0000
commit2366accae51d17f1f5c7d72f18dbf0776bc02c7d (patch)
tree2e65fcda905083ca32f8a1ae86ed62a0f2f6fd8c /media/libopus/silk/stereo_LR_to_MS.c
parentd01ae5cf25433bef452c8b9ff0aa0ae796b966a0 (diff)
downloaduxp-2366accae51d17f1f5c7d72f18dbf0776bc02c7d.tar.gz
Issue #1890 - Update libopus
This resolves #1890
Diffstat (limited to 'media/libopus/silk/stereo_LR_to_MS.c')
-rw-r--r--media/libopus/silk/stereo_LR_to_MS.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libopus/silk/stereo_LR_to_MS.c b/media/libopus/silk/stereo_LR_to_MS.c
index dda0298de2..c8226663c8 100644
--- a/media/libopus/silk/stereo_LR_to_MS.c
+++ b/media/libopus/silk/stereo_LR_to_MS.c
@@ -109,7 +109,7 @@ void silk_stereo_LR_to_MS(
if( total_rate_bps < 1 ) {
total_rate_bps = 1;
}
- min_mid_rate_bps = silk_SMLABB( 2000, fs_kHz, 900 );
+ min_mid_rate_bps = silk_SMLABB( 2000, fs_kHz, 600 );
silk_assert( min_mid_rate_bps < 32767 );
/* Default bitrate distribution: 8 parts for Mid and (5+3*frac) parts for Side. so: mid_rate = ( 8 / ( 13 + 3 * frac ) ) * total_ rate */
frac_3_Q16 = silk_MUL( 3, frac_Q16 );