diff options
author | Strangerke | 2013-11-09 15:09:05 +0100 |
---|---|---|
committer | Strangerke | 2013-11-09 15:09:05 +0100 |
commit | c177d450733c014dd8e5e3c25dadf04484433cc8 (patch) | |
tree | 9c1d645f0bfc2f41b15da5797d6b1f72c51692aa /engines | |
parent | 2f9c2a937029abc0a9a4988b223b2832b433d6cb (diff) | |
download | scummvm-rg350-c177d450733c014dd8e5e3c25dadf04484433cc8.tar.gz scummvm-rg350-c177d450733c014dd8e5e3c25dadf04484433cc8.tar.bz2 scummvm-rg350-c177d450733c014dd8e5e3c25dadf04484433cc8.zip |
TOON: Fix uninitialized variable in audio. CID 1002729
Diffstat (limited to 'engines')
-rw-r--r-- | engines/toon/audio.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/toon/audio.cpp b/engines/toon/audio.cpp index 50b559ee00..303f6774fa 100644 --- a/engines/toon/audio.cpp +++ b/engines/toon/audio.cpp @@ -228,6 +228,7 @@ void AudioManager::stopMusic() { AudioStreamInstance::AudioStreamInstance(AudioManager *man, Audio::Mixer *mixer, Common::SeekableReadStream *stream , bool looping, bool deleteFileStreamAtEnd) { _compBufferSize = 0; _buffer = NULL; + _bufferSize = 0; _bufferMaxSize = 0; _mixer = mixer; _compBuffer = NULL; |