diff options
author | Marisa-Chan | 2014-11-04 10:09:27 +0600 |
---|---|---|
committer | Marisa-Chan | 2014-11-04 10:09:27 +0600 |
commit | d40caba5b748be38f2b6fe4c70af7eeccedd0ab8 (patch) | |
tree | a7570502c7a1d6ae6ad20cc8763f9e4a1726f045 | |
parent | 3f21de4694080f07f7927afdc11c4093e523dd6f (diff) | |
download | scummvm-rg350-d40caba5b748be38f2b6fe4c70af7eeccedd0ab8.tar.gz scummvm-rg350-d40caba5b748be38f2b6fe4c70af7eeccedd0ab8.tar.bz2 scummvm-rg350-d40caba5b748be38f2b6fe4c70af7eeccedd0ab8.zip |
ZVISION: If ZorkAVIAudioTrack got another format call AVIAudioTrack::queueSound
-rw-r--r-- | engines/zvision/video/zork_avi_decoder.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/zvision/video/zork_avi_decoder.cpp b/engines/zvision/video/zork_avi_decoder.cpp index a9dc7765d4..415a20d3f2 100644 --- a/engines/zvision/video/zork_avi_decoder.cpp +++ b/engines/zvision/video/zork_avi_decoder.cpp @@ -48,10 +48,9 @@ void ZorkAVIDecoder::ZorkAVIAudioTrack::queueSound(Common::SeekableReadStream *s if (chunk.data) _audStream->queueBuffer((byte *)chunk.data, chunk.size, DisposeAfterUse::YES, Audio::FLAG_16BITS | Audio::FLAG_LITTLE_ENDIAN | Audio::FLAG_STEREO); + } else { + AVIAudioTrack::queueSound(stream); } - } else { - warning("Got %d wave format in AVI\n", _wvInfo.tag); - delete stream; } } |