mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 06:41:51 +00:00
GRIM: Set _stream to null after it is done with. Fixes #466
This commit is contained in:
parent
d304c08b9c
commit
6b2e1ad646
@ -513,8 +513,10 @@ void SmushDecoder::seekToTime(Audio::Timestamp time) { // FIXME: This will be of
|
||||
uint32 tag;
|
||||
int32 size;
|
||||
|
||||
if (_stream)
|
||||
if (_stream) {
|
||||
_stream->finish();
|
||||
_stream = NULL;
|
||||
}
|
||||
|
||||
if (wantedFrame > _nbframes)
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user