aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur/animation.cpp
diff options
context:
space:
mode:
authorStrangerke2014-02-25 23:03:56 +0100
committerStrangerke2014-02-25 23:04:42 +0100
commit227d80e0fdfb12f2416a5e738e19b572c51fe3d9 (patch)
tree78230d971289ed6196a88d873f45f534a8326c73 /engines/voyeur/animation.cpp
parent0e17b464ca620931f43be55fdfdbc0a0fb78cb7b (diff)
downloadscummvm-rg350-227d80e0fdfb12f2416a5e738e19b572c51fe3d9.tar.gz
scummvm-rg350-227d80e0fdfb12f2416a5e738e19b572c51fe3d9.tar.bz2
scummvm-rg350-227d80e0fdfb12f2416a5e738e19b572c51fe3d9.zip
VOYEUR: Add some details about unused variables, initialize some variables
Diffstat (limited to 'engines/voyeur/animation.cpp')
-rw-r--r--engines/voyeur/animation.cpp13
1 files changed, 13 insertions, 0 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() {