mirror of
https://github.com/xiph/opus.git
synced 2025-05-28 22:29:14 +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
|
@ -151,7 +151,7 @@ opus_int silk_Decode( /* O Returns error co
|
|||
psDec->nChannelsAPI = decControl->nChannelsAPI;
|
||||
psDec->nChannelsInternal = decControl->nChannelsInternal;
|
||||
|
||||
if( decControl->API_sampleRate > MAX_API_FS_KHZ * 1000 || decControl->API_sampleRate < 8000 ) {
|
||||
if( decControl->API_sampleRate > (opus_int32)MAX_API_FS_KHZ * 1000 || decControl->API_sampleRate < 8000 ) {
|
||||
ret = SILK_DEC_INVALID_SAMPLING_FREQUENCY;
|
||||
return( ret );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue