diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/composer/composer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/composer/composer.cpp b/engines/composer/composer.cpp index 3651a49328..fba699660d 100644 --- a/engines/composer/composer.cpp +++ b/engines/composer/composer.cpp @@ -154,6 +154,9 @@ Pipe::Pipe(Common::SeekableReadStream *stream) { } void Pipe::nextFrame() { + if (_offset == _stream->size()) + return; + _stream->seek(_offset, SEEK_SET); uint32 tagCount = _stream->readUint32LE(); |