mirror of
https://github.com/xiph/opus.git
synced 2025-05-27 13:49:13 +00:00
Fixes a bunch of 16-bit issues that the C5X compiler warns about
This commit is contained in:
parent
59354a7742
commit
905197d750
25 changed files with 49 additions and 49 deletions
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue