diff options
author | Max Horn | 2003-12-26 00:44:01 +0000 |
---|---|---|
committer | Max Horn | 2003-12-26 00:44:01 +0000 |
commit | b7efa3f137cba94ead814d43387ab49dfac62d2b (patch) | |
tree | b4ffa7a63c7e32fdc646d8c2cc886ceaf5e313b8 /scumm | |
parent | 27e32a7b4223dd45370c45f5a4cd9bd279fed36a (diff) | |
download | scummvm-rg350-b7efa3f137cba94ead814d43387ab49dfac62d2b.tar.gz scummvm-rg350-b7efa3f137cba94ead814d43387ab49dfac62d2b.tar.bz2 scummvm-rg350-b7efa3f137cba94ead814d43387ab49dfac62d2b.zip |
I got some buffer overflow warnings, seems 200KB isn't quite enough...
svn-id: r11931
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/smush/smush_mixer.cpp | 2 | ||||
-rw-r--r-- | 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; |