[Scummvm-cvs-logs] scummvm master -> 8bc30d0dfbc538c3631692a807d37e9007958da9

Strangerke Strangerke at scummvm.org
Sun Dec 21 22:54:33 CET 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
8bc30d0dfb ACCESS: Initialize header in videoPlayer constructor


Commit: 8bc30d0dfbc538c3631692a807d37e9007958da9
    https://github.com/scummvm/scummvm/commit/8bc30d0dfbc538c3631692a807d37e9007958da9
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-12-21T22:53:20+01:00

Commit Message:
ACCESS: Initialize header in videoPlayer constructor

Changed paths:
    engines/access/video.cpp



diff --git a/engines/access/video.cpp b/engines/access/video.cpp
index 920c066..edc0bcd 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() {






More information about the Scummvm-git-logs mailing list