Skip to content

Commit

Permalink
SHERLOCK: 3DO: close and delete videoDecoder
Browse files Browse the repository at this point in the history
...after playing a movie.
  • Loading branch information
Martin Kiewitz committed Jun 13, 2015
1 parent 7d2f15d commit 4626e64
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions engines/sherlock/scalpel/3do/movie_decoder.cpp
Expand Up @@ -498,6 +498,9 @@ bool Scalpel3DOMoviePlay(const char *filename, Common::Point pos) {

g_system->delayMillis(10);
}
videoDecoder->close();
delete videoDecoder;

return !skipVideo;
}

Expand Down

0 comments on commit 4626e64

Please sign in to comment.