aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/voyeur/animation.cpp13
-rw-r--r--engines/voyeur/animation.h6
2 files changed, 16 insertions, 3 deletions
diff --git a/engines/voyeur/animation.cpp b/engines/voyeur/animation.cpp
index 82cddc258f..6c0a96faf2 100644
--- a/engines/voyeur/animation.cpp
+++ b/engines/voyeur/animation.cpp
@@ -153,6 +153,19 @@ RL2Decoder::SoundFrame::SoundFrame(int offset, int size) {
RL2Decoder::RL2FileHeader::RL2FileHeader() {
_frameOffsets = nullptr;
_frameSoundSizes = nullptr;
+
+ _channels = 0;
+ _colorCount = 0;
+ _numFrames = 0;
+ _rate = 0;
+ _soundRate = 0;
+ _videoBase = 0;
+ _backSize = 0;
+ _signature = MKTAG('N', 'O', 'N', 'E');
+ _form = 0;
+ _dataSize = 0;
+ _method = 0;
+ _defSoundSize = 0;
}
RL2Decoder::RL2FileHeader::~RL2FileHeader() {
diff --git a/engines/voyeur/animation.h b/engines/voyeur/animation.h
index 01d4282f92..dcdbf36260 100644
--- a/engines/voyeur/animation.h
+++ b/engines/voyeur/animation.h
@@ -69,9 +69,9 @@ private:
bool isValid() const;
private:
- uint32 _form;
- uint32 _dataSize;
- int _method;
+ uint32 _form; // Unused variable
+ uint32 _dataSize; // Unused variable
+ int _method; // Unused variable
int _defSoundSize;
};