diff options
Diffstat (limited to 'engines/sword25/fmv')
-rw-r--r-- | engines/sword25/fmv/theora_decoder.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sword25/fmv/theora_decoder.cpp b/engines/sword25/fmv/theora_decoder.cpp index 133adb3007..ef9f904f77 100644 --- a/engines/sword25/fmv/theora_decoder.cpp +++ b/engines/sword25/fmv/theora_decoder.cpp @@ -45,6 +45,10 @@ namespace Sword25 { #define AUDIOFD_FRAGSIZE 10240 +static double rint(double v) { + return floor(v + 0.5); +} + TheoraDecoder::TheoraDecoder(Audio::Mixer *mixer, Audio::Mixer::SoundType soundType) : _mixer(mixer) { _fileStream = 0; _surface = 0; |