aboutsummaryrefslogtreecommitdiff
path: root/engines/access
diff options
context:
space:
mode:
authorStrangerke2014-12-21 22:53:20 +0100
committerStrangerke2014-12-21 22:53:20 +0100
commit8bc30d0dfbc538c3631692a807d37e9007958da9 (patch)
tree8782738a092068e1ec4ca0ce6a7051af5d44875a /engines/access
parent4a1ddd5d0c8760dbdee967d8152c8e0e650eb4df (diff)
downloadscummvm-rg350-8bc30d0dfbc538c3631692a807d37e9007958da9.tar.gz
scummvm-rg350-8bc30d0dfbc538c3631692a807d37e9007958da9.tar.bz2
scummvm-rg350-8bc30d0dfbc538c3631692a807d37e9007958da9.zip
ACCESS: Initialize header in videoPlayer constructor
Diffstat (limited to 'engines/access')
-rw-r--r--engines/access/video.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/access/video.cpp b/engines/access/video.cpp
index 920c066898..edc0bcda27 100644
--- a/engines/access/video.cpp
+++ b/engines/access/video.cpp
@@ -29,6 +29,7 @@ VideoPlayer::VideoPlayer(AccessEngine *vm) : Manager(vm) {
_vidSurface = nullptr;
_videoData = nullptr;
_startCoord = nullptr;
+
_frameCount = 0;
_xCount = 0;
_scanCount = 0;
@@ -37,6 +38,10 @@ VideoPlayer::VideoPlayer(AccessEngine *vm) : Manager(vm) {
_soundFlag = false;
_soundFrame = 0;
_videoEnd = false;
+
+ _header._frameCount = 0;
+ _header._width = _header._height = 0;
+ _header._flags = 0;
}
VideoPlayer::~VideoPlayer() {