Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2012-03-08 23:09:09 +0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2012-03-08 23:09:09 +0400
commit905197d750d00c460c4940c42c3b7b9c2f85441c (patch)
treea81fb46750b02635cad0c22bb429a6b41d294ed3 /silk/control_codec.c
parent59354a7742ff0fc182886f2f2567026e516c1eef (diff)
Fixes a bunch of 16-bit issues that the C5X compiler warns about
Diffstat (limited to 'silk/control_codec.c')
-rw-r--r--silk/control_codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/silk/control_codec.c b/silk/control_codec.c
index 5a997018..4920d6c9 100644
--- a/silk/control_codec.c
+++ b/silk/control_codec.c
@@ -403,7 +403,7 @@ static inline opus_int silk_setup_LBRR(
if( TargetRate_bps > LBRR_rate_thres_bps ) {
/* Set gain increase for coding LBRR excitation */
psEncC->LBRR_enabled = 1;
- psEncC->LBRR_GainIncreases = silk_max_int( 7 - silk_SMULWB( psEncC->PacketLoss_perc, SILK_FIX_CONST( 0.4, 16 ) ), 2 );
+ psEncC->LBRR_GainIncreases = silk_max_int( 7 - silk_SMULWB( (opus_int32)psEncC->PacketLoss_perc, SILK_FIX_CONST( 0.4, 16 ) ), 2 );
}
}