GRIM: Set _stream to null after it is done with. Fixes #466

This commit is contained in:
Joel Teichroeb 2012-01-11 18:52:09 -08:00
parent d304c08b9c
commit 6b2e1ad646

View File

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