[Scummvm-cvs-logs] scummvm master -> c177d450733c014dd8e5e3c25dadf04484433cc8

Strangerke Strangerke at scummvm.org
Sat Nov 9 15:09:44 CET 2013


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
c177d45073 TOON: Fix uninitialized variable in audio. CID 1002729


Commit: c177d450733c014dd8e5e3c25dadf04484433cc8
    https://github.com/scummvm/scummvm/commit/c177d450733c014dd8e5e3c25dadf04484433cc8
Author: Strangerke (strangerke at scummvm.org)
Date: 2013-11-09T06:09:05-08:00

Commit Message:
TOON: Fix uninitialized variable in audio. CID 1002729

Changed paths:
    engines/toon/audio.cpp



diff --git a/engines/toon/audio.cpp b/engines/toon/audio.cpp
index 50b559e..303f677 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;






More information about the Scummvm-git-logs mailing list