aboutsummaryrefslogtreecommitdiff
path: root/graphics/video
diff options
context:
space:
mode:
authorSven Hesse2010-08-08 17:51:50 +0000
committerSven Hesse2010-08-08 17:51:50 +0000
commit27f6e7106dad4c1d3ade5239ffb1a3e96ce9222b (patch)
treeffce9541203a89a225cd8527ad7121ce6efb957b /graphics/video
parent054c586bcc74de047536b5d4f2fdc4540dce24f3 (diff)
downloadscummvm-rg350-27f6e7106dad4c1d3ade5239ffb1a3e96ce9222b.tar.gz
scummvm-rg350-27f6e7106dad4c1d3ade5239ffb1a3e96ce9222b.tar.bz2
scummvm-rg350-27f6e7106dad4c1d3ade5239ffb1a3e96ce9222b.zip
VIDEO: That should fix compilation with MSVC
svn-id: r51931
Diffstat (limited to 'graphics/video')
-rw-r--r--graphics/video/coktel_decoder.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/video/coktel_decoder.cpp b/graphics/video/coktel_decoder.cpp
index 2fa0e3cd38..0709288091 100644
--- a/graphics/video/coktel_decoder.cpp
+++ b/graphics/video/coktel_decoder.cpp
@@ -581,7 +581,7 @@ uint32 CoktelDecoder::getTimeToNextFrame() const {
// the middle of a long video.
if (!hasSound())
- return (Common::Rational(1000) / _frameRate).toInt();
+ return Common::Rational(1000, _frameRate).toInt();
// If there /is/ audio, we do need to keep video and audio
// in sync, though.
@@ -1039,7 +1039,7 @@ bool IMDDecoder::assessAudioProperties() {
return false;
}
- _frameRate = Common::Rational(_soundFreq) / _soundSliceSize;
+ _frameRate = Common::Rational(_soundFreq, _soundSliceSize);
_hasSound = true;
_soundEnabled = true;
@@ -1760,7 +1760,7 @@ bool VMDDecoder::assessAudioProperties() {
return false;
}
- _frameRate = Common::Rational(_soundFreq) / _soundSliceSize;
+ _frameRate = Common::Rational(_soundFreq, _soundSliceSize);
_hasSound = true;
_soundEnabled = true;