diff options
author | Strangerke | 2014-12-21 22:53:20 +0100 |
---|---|---|
committer | Strangerke | 2014-12-21 22:53:20 +0100 |
commit | 8bc30d0dfbc538c3631692a807d37e9007958da9 (patch) | |
tree | 8782738a092068e1ec4ca0ce6a7051af5d44875a | |
parent | 4a1ddd5d0c8760dbdee967d8152c8e0e650eb4df (diff) | |
download | scummvm-rg350-8bc30d0dfbc538c3631692a807d37e9007958da9.tar.gz scummvm-rg350-8bc30d0dfbc538c3631692a807d37e9007958da9.tar.bz2 scummvm-rg350-8bc30d0dfbc538c3631692a807d37e9007958da9.zip |
ACCESS: Initialize header in videoPlayer constructor
-rw-r--r-- | engines/access/video.cpp | 5 |
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() { |