VIDEO: Fix another IMD seek issue

svn-id: r51881
This commit is contained in:
Sven Hesse 2010-08-08 00:49:15 +00:00
parent 688ae2bfff
commit d1d772367b

View file

@ -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();