aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorSven Hesse2007-04-15 16:30:54 +0000
committerSven Hesse2007-04-15 16:30:54 +0000
commite962db5b6d6856a31e52f7e3c4038a0f8f47e25d (patch)
tree31b5167328aabe0510a138c27dad59cc023987db /sound
parentc8396a283df5f56b6945d6b569a3a5ea6d10ac78 (diff)
downloadscummvm-rg350-e962db5b6d6856a31e52f7e3c4038a0f8f47e25d.tar.gz
scummvm-rg350-e962db5b6d6856a31e52f7e3c4038a0f8f47e25d.tar.bz2
scummvm-rg350-e962db5b6d6856a31e52f7e3c4038a0f8f47e25d.zip
Some more supposedly unitialized variables (see bug #1700986)
svn-id: r26509
Diffstat (limited to 'sound')
-rw-r--r--sound/aiff.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/aiff.cpp b/sound/aiff.cpp
index 4942a66762..5d8d823756 100644
--- a/sound/aiff.cpp
+++ b/sound/aiff.cpp
@@ -46,7 +46,7 @@ uint32 readExtended(Common::SeekableReadStream &stream) {
byte buf[10];
uint32 mantissa;
- uint32 last;
+ uint32 last = 0;
byte exp;
stream.read(buf, 10);
@@ -89,8 +89,8 @@ bool loadAIFFFromStream(Common::SeekableReadStream &stream, int &size, int &rate
bool foundCOMM = false;
bool foundSSND = false;
- uint16 numChannels, bitsPerSample;
- uint32 numSampleFrames, offset, blockSize, soundOffset;
+ uint16 numChannels = 0, bitsPerSample = 0;
+ uint32 numSampleFrames = 0, offset = 0, blockSize = 0, soundOffset = 0;
while ((!foundCOMM || !foundSSND) && !stream.ioFailed()) {
uint32 length, pos;