diff options
author | Eugene Sandulenko | 2014-08-09 15:33:50 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2014-08-09 15:33:50 +0200 |
commit | 6e794a9823440b6859ce65fb1097d710780a493d (patch) | |
tree | 9a8d90a53d7592cb11786521bee8ff8158e13aeb /audio/decoders | |
parent | 908b4113c11686de5e8bcc3014917c92ff8961b6 (diff) | |
parent | dc155b23f02f6a462bf59a3f51dcdfea3e95c5b8 (diff) | |
download | scummvm-rg350-6e794a9823440b6859ce65fb1097d710780a493d.tar.gz scummvm-rg350-6e794a9823440b6859ce65fb1097d710780a493d.tar.bz2 scummvm-rg350-6e794a9823440b6859ce65fb1097d710780a493d.zip |
Merge pull request #487 from clone2727/audio_fixes
AUDIO: Miscellaneous AudioStream fixes
Diffstat (limited to 'audio/decoders')
-rw-r--r-- | audio/decoders/aac.cpp | 1 | ||||
-rw-r--r-- | audio/decoders/qdm2.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/audio/decoders/aac.cpp b/audio/decoders/aac.cpp index 7700bb3215..beabf7bff9 100644 --- a/audio/decoders/aac.cpp +++ b/audio/decoders/aac.cpp @@ -117,6 +117,7 @@ AudioStream *AACDecoder::decodeFrame(Common::SeekableReadStream &stream) { inBufferPos += frameInfo.bytesconsumed; } + audioStream->finish(); return audioStream; } 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; } |