aboutsummaryrefslogtreecommitdiff
path: root/video/bink_decoder.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2011-07-02 19:53:15 -0400
committerMatthew Hoops2011-07-02 19:53:15 -0400
commitccfb7cb86fd8cf8e21aa398d5b7e291c15eba6d8 (patch)
tree1819e56962160df4b424cd1cc6b460918f0fdd60 /video/bink_decoder.cpp
parent9dd8650872e4053c78df9609ec59d4b500a19692 (diff)
downloadscummvm-rg350-ccfb7cb86fd8cf8e21aa398d5b7e291c15eba6d8.tar.gz
scummvm-rg350-ccfb7cb86fd8cf8e21aa398d5b7e291c15eba6d8.tar.bz2
scummvm-rg350-ccfb7cb86fd8cf8e21aa398d5b7e291c15eba6d8.zip
VIDEO: Remember to call reset() from BinkDecoder::close()
Diffstat (limited to 'video/bink_decoder.cpp')
-rw-r--r--video/bink_decoder.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/bink_decoder.cpp b/video/bink_decoder.cpp
index e8d7adfd2f..a21582e5f3 100644
--- a/video/bink_decoder.cpp
+++ b/video/bink_decoder.cpp
@@ -120,6 +120,8 @@ BinkDecoder::~BinkDecoder() {
}
void BinkDecoder::close() {
+ reset();
+
if (_audioStream) {
// Stop audio
g_system->getMixer()->stopHandle(_audioHandle);