aboutsummaryrefslogtreecommitdiff
path: root/video
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
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')
-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);