diff options
author | Eugene Sandulenko | 2016-03-14 22:05:10 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-03-14 22:05:10 +0100 |
commit | 8f1c16071698c472a973e46c362fb71fc3c47d6c (patch) | |
tree | 510f72397c93e2533305ae90eb0b7cf4ea6530d1 | |
parent | 5c9d3e3c0e1698c64fb2f60728689e5cceeaf885 (diff) | |
parent | 25c852f1a5ea8c50cca5d6b6c4debba56ad0988d (diff) | |
download | scummvm-rg350-8f1c16071698c472a973e46c362fb71fc3c47d6c.tar.gz scummvm-rg350-8f1c16071698c472a973e46c362fb71fc3c47d6c.tar.bz2 scummvm-rg350-8f1c16071698c472a973e46c362fb71fc3c47d6c.zip |
Merge pull request #705 from ottogin/sword25-video-fix
SWORD25: Fix video loop in intro
-rw-r--r-- | engines/sword25/fmv/movieplayer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sword25/fmv/movieplayer.cpp b/engines/sword25/fmv/movieplayer.cpp index eb0f0390dc..62a897a332 100644 --- a/engines/sword25/fmv/movieplayer.cpp +++ b/engines/sword25/fmv/movieplayer.cpp @@ -58,6 +58,8 @@ MoviePlayer::~MoviePlayer() { } bool MoviePlayer::loadMovie(const Common::String &filename, uint z) { + if (isMovieLoaded()) + unloadMovie(); // Get the file and load it into the decoder Common::SeekableReadStream *in = Kernel::getInstance()->getPackage()->getStream(filename); _decoder.loadStream(in); |