aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2004-02-08 23:01:15 +0000
committerMax Horn2004-02-08 23:01:15 +0000
commite67c169cd9d85a25163e036038fa7e122f93e346 (patch)
treed66d5ca5b4f1e7604a4a9c5123dab0aaf5ae397f /scumm
parent1f8784e5de146803a1d41e048e442c41795b6f55 (diff)
downloadscummvm-rg350-e67c169cd9d85a25163e036038fa7e122f93e346.tar.gz
scummvm-rg350-e67c169cd9d85a25163e036038fa7e122f93e346.tar.bz2
scummvm-rg350-e67c169cd9d85a25163e036038fa7e122f93e346.zip
fix var initialisation when both Vorbis and MP3 support are disabled
svn-id: r12778
Diffstat (limited to 'scumm')
-rw-r--r--scumm/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 20837d34f1..47e37eac3a 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -815,7 +815,7 @@ void Sound::pauseSounds(bool pause) {
void Sound::startSfxSound(File *file, int file_size, PlayingSoundHandle *handle, int id) {
- AudioStream *input;
+ AudioStream *input = 0;
if (file_size > 0) {
if (_vorbis_mode) {