aboutsummaryrefslogtreecommitdiff
path: root/audio/decoders/qdm2.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2014-06-12 00:36:40 -0400
committerMatthew Hoops2014-07-27 23:44:44 -0400
commit1b834f92bd75d394051de650747096ee9d82b513 (patch)
tree2844fbda2dd21d03015269e3bf6dd5af3f651166 /audio/decoders/qdm2.cpp
parent7416a4f4b2eb66af6e9472618973abc93eeb94de (diff)
downloadscummvm-rg350-1b834f92bd75d394051de650747096ee9d82b513.tar.gz
scummvm-rg350-1b834f92bd75d394051de650747096ee9d82b513.tar.bz2
scummvm-rg350-1b834f92bd75d394051de650747096ee9d82b513.zip
AUDIO: Finish off AAC/QDM2 queues when done decoding a packet
Diffstat (limited to 'audio/decoders/qdm2.cpp')
-rw-r--r--audio/decoders/qdm2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/decoders/qdm2.cpp b/audio/decoders/qdm2.cpp
index 743ca1cb7d..97d73b3a03 100644
--- a/audio/decoders/qdm2.cpp
+++ b/audio/decoders/qdm2.cpp
@@ -2607,6 +2607,7 @@ AudioStream *QDM2Stream::decodeFrame(Common::SeekableReadStream &stream) {
while (qdm2_decodeFrame(stream, audioStream))
;
+ audioStream->finish();
return audioStream;
}