diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/support/avi_surface.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/titanic/support/avi_surface.cpp b/engines/titanic/support/avi_surface.cpp index 36a5891f0d..f8a6440be8 100644 --- a/engines/titanic/support/avi_surface.cpp +++ b/engines/titanic/support/avi_surface.cpp @@ -47,6 +47,7 @@ AVISurface::AVISurface(const CResourceKey &key) : _movieName(key.getString()) { // since it needs to be able to go beyond the frame count or to negative to allow // correct detection of when range playbacks have finished _currentFrame = -1; + _priorFrame = -1; _isReversed = false; // Create a decoder @@ -55,6 +56,10 @@ AVISurface::AVISurface(const CResourceKey &key) : _movieName(key.getString()) { error("Could not open video - %s", key.getString().c_str()); _streamCount = _decoder->videoTrackCount(); + + _soundManager = nullptr; + _hasAudio = false; + _frameRate = 0.0; } AVISurface::~AVISurface() { |