diff options
Diffstat (limited to 'scumm/smush')
-rw-r--r-- | scumm/smush/smush_mixer.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scumm/smush/smush_mixer.cpp b/scumm/smush/smush_mixer.cpp index 09a05af29c..c97d8c23ee 100644 --- a/scumm/smush/smush_mixer.cpp +++ b/scumm/smush/smush_mixer.cpp @@ -98,8 +98,10 @@ bool SmushMixer::handleFrame() { delete _channels[i].chan; _channels[i].id = -1; _channels[i].chan = NULL; - _channels[i].stream->finish(); - _channels[i].stream = 0; + if (_channels[i].stream) { + _channels[i].stream->finish(); + _channels[i].stream = 0; + } } else { int32 rate, vol, pan; bool stereo, is_16bit; |