aboutsummaryrefslogtreecommitdiff
path: root/scumm/smush/smush_mixer.cpp
diff options
context:
space:
mode:
authorMax Horn2003-12-26 00:44:01 +0000
committerMax Horn2003-12-26 00:44:01 +0000
commitb7efa3f137cba94ead814d43387ab49dfac62d2b (patch)
treeb4ffa7a63c7e32fdc646d8c2cc886ceaf5e313b8 /scumm/smush/smush_mixer.cpp
parent27e32a7b4223dd45370c45f5a4cd9bd279fed36a (diff)
downloadscummvm-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/smush/smush_mixer.cpp')
-rw-r--r--scumm/smush/smush_mixer.cpp2
1 files changed, 1 insertions, 1 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);