mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 14:50:17 +00:00
GRIM/SMUSH: Properly read past ANNO-blocks.
This commit is contained in:
parent
19369c9bcb
commit
88305a022e
@ -77,6 +77,7 @@ void SmushDecoder::close() {
|
||||
_audioTrack = NULL;
|
||||
_videoTrack = NULL;
|
||||
_videoLooping = false;
|
||||
_startPos = 0;
|
||||
if (_file) {
|
||||
delete _file;
|
||||
_file = NULL;
|
||||
@ -274,6 +275,7 @@ void SmushDecoder::handleFrame() {
|
||||
}
|
||||
delete[] anno;
|
||||
tag = _file->readUint32BE();
|
||||
size = _file->readUint32BE();
|
||||
}
|
||||
|
||||
assert(tag == MKTAG('F', 'R', 'M', 'E'));
|
||||
|
Loading…
Reference in New Issue
Block a user