mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-28 07:16:53 +00:00
VIDEO: That should fix compilation with MSVC
svn-id: r51931
This commit is contained in:
parent
054c586bcc
commit
27f6e7106d
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user