From b7efa3f137cba94ead814d43387ab49dfac62d2b Mon Sep 17 00:00:00 2001 From: Max Horn Date: Fri, 26 Dec 2003 00:44:01 +0000 Subject: I got some buffer overflow warnings, seems 200KB isn't quite enough... svn-id: r11931 --- scumm/smush/smush_mixer.cpp | 2 +- scumm/smush/smush_player.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scumm/smush/smush_mixer.cpp b/scumm/smush/smush_mixer.cpp index 69d85c6a22..c07b839d77 100644 --- a/scumm/smush/smush_mixer.cpp +++ b/scumm/smush/smush_mixer.cpp @@ -120,7 +120,7 @@ bool SmushMixer::handleFrame() { if (_mixer->isReady()) { if (!_channels[i].handle.isActive()) - _mixer->newStream(&_channels[i].handle, rate, flags, 500000); + _mixer->newStream(&_channels[i].handle, rate, flags, 400000); _mixer->appendStream(_channels[i].handle, data, size); } free(data); diff --git a/scumm/smush/smush_player.cpp b/scumm/smush/smush_player.cpp index 3679a49d0e..1897923fcc 100644 --- a/scumm/smush/smush_player.cpp +++ b/scumm/smush/smush_player.cpp @@ -455,7 +455,7 @@ void SmushPlayer::handleIACT(Chunk &b) { } while (--count); if (!_IACTchannel.isActive()) - _scumm->_mixer->newStream(&_IACTchannel, 22050, SoundMixer::FLAG_STEREO | SoundMixer::FLAG_16BITS, 200000); + _scumm->_mixer->newStream(&_IACTchannel, 22050, SoundMixer::FLAG_STEREO | SoundMixer::FLAG_16BITS, 400000); _scumm->_mixer->appendStream(_IACTchannel, output_data, 0x1000); bsize -= len; -- cgit v1.2.3