mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-11 11:45:21 +00:00
BINK decoder: Fixed compilation with MSVC
This commit is contained in:
parent
2cdd83141a
commit
e1ca235c44
@ -654,7 +654,7 @@ void BinkDecoder::initAudioTrack(AudioTrack &audio) {
|
||||
|
||||
audio.overlapLen = audio.frameLen / 16;
|
||||
audio.blockSize = (audio.frameLen - audio.overlapLen) * audio.channels;
|
||||
audio.root = 2.0 / sqrt(audio.frameLen);
|
||||
audio.root = 2.0 / sqrt((double)audio.frameLen);
|
||||
|
||||
uint32 sampleRateHalf = (audio.sampleRate + 1) / 2;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user