diff options
author | Filippos Karapetis | 2011-07-19 10:50:48 +0300 |
---|---|---|
committer | Filippos Karapetis | 2011-07-19 10:50:48 +0300 |
commit | e1ca235c4457e7f5f35dea688396845146fbf04a (patch) | |
tree | f76834d51c2d1b5e17518f89011b1d672f7893b5 /video | |
parent | 2cdd83141ab2cf364de62973de4c014944836f73 (diff) | |
download | scummvm-rg350-e1ca235c4457e7f5f35dea688396845146fbf04a.tar.gz scummvm-rg350-e1ca235c4457e7f5f35dea688396845146fbf04a.tar.bz2 scummvm-rg350-e1ca235c4457e7f5f35dea688396845146fbf04a.zip |
BINK decoder: Fixed compilation with MSVC
Diffstat (limited to 'video')
-rw-r--r-- | video/bink_decoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/bink_decoder.cpp b/video/bink_decoder.cpp index 1f3190dff1..cebda72a76 100644 --- a/video/bink_decoder.cpp +++ b/video/bink_decoder.cpp @@ -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; |