aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2016-07-18 21:51:50 -0400
committerPaul Gilbert2016-07-18 21:51:50 -0400
commit18e06f727ab55eb232a8f97c09cb9950b29eeef8 (patch)
treea5a20dc9d63105cbb1092b61a1f88f19d44b8691 /engines
parent87379442ffb497352915b058b100b688d96a98e9 (diff)
downloadscummvm-rg350-18e06f727ab55eb232a8f97c09cb9950b29eeef8.tar.gz
scummvm-rg350-18e06f727ab55eb232a8f97c09cb9950b29eeef8.tar.bz2
scummvm-rg350-18e06f727ab55eb232a8f97c09cb9950b29eeef8.zip
TITANIC: Fix loading of movies with only a single video track
Diffstat (limited to 'engines')
-rw-r--r--engines/titanic/support/avi_surface.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/titanic/support/avi_surface.cpp b/engines/titanic/support/avi_surface.cpp
index b685fa8cce..7779baf2ff 100644
--- a/engines/titanic/support/avi_surface.cpp
+++ b/engines/titanic/support/avi_surface.cpp
@@ -74,6 +74,7 @@ AVISurface::AVISurface(const CResourceKey &key) {
++_streamCount;
} else {
delete decoder2;
+ _decoders[1] = nullptr;
}
}