aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock
diff options
context:
space:
mode:
authorMartin Kiewitz2015-06-13 20:57:58 +0200
committerMartin Kiewitz2015-06-13 20:57:58 +0200
commit4626e641fca76fd25e2b3e647dfd068e1511538b (patch)
treeea3c842dfcd321caf536ecab0cccdaa4aa4e31fa /engines/sherlock
parent7d2f15d8212f088950385cfc4ec91059b728c95c (diff)
downloadscummvm-rg350-4626e641fca76fd25e2b3e647dfd068e1511538b.tar.gz
scummvm-rg350-4626e641fca76fd25e2b3e647dfd068e1511538b.tar.bz2
scummvm-rg350-4626e641fca76fd25e2b3e647dfd068e1511538b.zip
SHERLOCK: 3DO: close and delete videoDecoder
...after playing a movie.
Diffstat (limited to 'engines/sherlock')
-rw-r--r--engines/sherlock/scalpel/3do/movie_decoder.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sherlock/scalpel/3do/movie_decoder.cpp b/engines/sherlock/scalpel/3do/movie_decoder.cpp
index 29f2510598..6de4f86e91 100644
--- a/engines/sherlock/scalpel/3do/movie_decoder.cpp
+++ b/engines/sherlock/scalpel/3do/movie_decoder.cpp
@@ -498,6 +498,9 @@ bool Scalpel3DOMoviePlay(const char *filename, Common::Point pos) {
g_system->delayMillis(10);
}
+ videoDecoder->close();
+ delete videoDecoder;
+
return !skipVideo;
}