diff options
author | Paul Gilbert | 2014-02-04 00:14:48 -0500 |
---|---|---|
committer | Paul Gilbert | 2014-02-04 00:14:48 -0500 |
commit | bb37927afdd155d78ca5f9f896e8857423da459c (patch) | |
tree | f798e940c94f7473bdcd6aec8ca87cdb483aed45 /engines/voyeur/voyeur.cpp | |
parent | 77d8810b1930368ae3d8fe297d496347d49eca59 (diff) | |
download | scummvm-rg350-bb37927afdd155d78ca5f9f896e8857423da459c.tar.gz scummvm-rg350-bb37927afdd155d78ca5f9f896e8857423da459c.tar.bz2 scummvm-rg350-bb37927afdd155d78ca5f9f896e8857423da459c.zip |
VOYEUR: Cleaner implementation of RL2Decoder seek
Diffstat (limited to 'engines/voyeur/voyeur.cpp')
-rw-r--r-- | engines/voyeur/voyeur.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/voyeur/voyeur.cpp b/engines/voyeur/voyeur.cpp index 37dd527b39..1142599f12 100644 --- a/engines/voyeur/voyeur.cpp +++ b/engines/voyeur/voyeur.cpp @@ -565,8 +565,7 @@ void VoyeurEngine::playAVideoDuration(int videoId, int duration) { RL2Decoder decoder; decoder.loadVideo(videoId); - decoder.seek(Audio::Timestamp(_voy._vocSecondsOffset * 1000, - decoder.getHeader().getFrameRate().toInt())); + decoder.seek(Audio::Timestamp(_voy._vocSecondsOffset * 1000)); decoder.start(); int endFrame = decoder.getCurFrame() + totalFrames; |