aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/video
diff options
context:
space:
mode:
authorMax Horn2010-01-31 02:11:41 +0000
committerMax Horn2010-01-31 02:11:41 +0000
commit21e1cc4cf8b79a9f59e911514c52831113356f7c (patch)
tree492c457f3469acd863e7623bc2fa4a410458f706 /engines/mohawk/video
parent7f4aa161bcb0f989fe2b343909fd855679901d3e (diff)
downloadscummvm-rg350-21e1cc4cf8b79a9f59e911514c52831113356f7c.tar.gz
scummvm-rg350-21e1cc4cf8b79a9f59e911514c52831113356f7c.tar.bz2
scummvm-rg350-21e1cc4cf8b79a9f59e911514c52831113356f7c.zip
Switch makeADPCMStream to DisposeAfterUse::Flag
svn-id: r47736
Diffstat (limited to 'engines/mohawk/video')
-rw-r--r--engines/mohawk/video/qt_player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/video/qt_player.cpp b/engines/mohawk/video/qt_player.cpp
index 104e35db8c..6f868a5418 100644
--- a/engines/mohawk/video/qt_player.cpp
+++ b/engines/mohawk/video/qt_player.cpp
@@ -1173,7 +1173,7 @@ Audio::AudioStream *QTPlayer::createAudioStream(Common::SeekableReadStream *stre
return Audio::makeRawStream(data, dataSize, _streams[_audioStreamIndex]->sample_rate, flags);
} else if (_streams[_audioStreamIndex]->codec_tag == MKID_BE('ima4')) {
// Riven uses this codec (as do some Myst ME videos)
- return Audio::makeADPCMStream(stream, true, stream->size(), Audio::kADPCMApple, _streams[_audioStreamIndex]->sample_rate, _streams[_audioStreamIndex]->channels, 34);
+ return Audio::makeADPCMStream(stream, DisposeAfterUse::YES, stream->size(), Audio::kADPCMApple, _streams[_audioStreamIndex]->sample_rate, _streams[_audioStreamIndex]->channels, 34);
} else if (_streams[_audioStreamIndex]->codec_tag == MKID_BE('QDM2')) {
// Several Myst ME videos use this codec
return new QDM2Stream(stream, _streams[_audioStreamIndex]->extradata);