diff options
author | Sven Hesse | 2010-08-08 00:49:15 +0000 |
---|---|---|
committer | Sven Hesse | 2010-08-08 00:49:15 +0000 |
commit | d1d772367b63a760e45ff270186215511fd936c6 (patch) | |
tree | 70425fa4449521921aa01e8c9eb46656f2b6e92b /graphics/video | |
parent | 688ae2bfff418d19e117d0f827e855b48d2a9a9d (diff) | |
download | scummvm-rg350-d1d772367b63a760e45ff270186215511fd936c6.tar.gz scummvm-rg350-d1d772367b63a760e45ff270186215511fd936c6.tar.bz2 scummvm-rg350-d1d772367b63a760e45ff270186215511fd936c6.zip |
VIDEO: Fix another IMD seek issue
svn-id: r51881
Diffstat (limited to 'graphics/video')
-rw-r--r-- | graphics/video/coktel_decoder.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/video/coktel_decoder.cpp b/graphics/video/coktel_decoder.cpp index c49f7480d2..dc27a92579 100644 --- a/graphics/video/coktel_decoder.cpp +++ b/graphics/video/coktel_decoder.cpp @@ -713,6 +713,9 @@ bool IMDDecoder::seek(int32 frame, int whence, bool restart) { } else if (restart && (_soundStage == kSoundNone)) { + _curFrame = 0; + _stream->seek(_firstFramePos); + for (int i = ((frame > _curFrame) ? _curFrame : 0); i <= frame; i++) processFrame(); |