aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMatthew Hoops2010-05-23 19:54:17 +0000
committerMatthew Hoops2010-05-23 19:54:17 +0000
commit5e90f66edc816931996a72b8fca8b01a96aff31a (patch)
treeb81a0f51985723416a02070fe531076b720c00b8 /graphics
parent734042a32ce37822551094feac81887743998b6c (diff)
downloadscummvm-rg350-5e90f66edc816931996a72b8fca8b01a96aff31a.tar.gz
scummvm-rg350-5e90f66edc816931996a72b8fca8b01a96aff31a.tar.bz2
scummvm-rg350-5e90f66edc816931996a72b8fca8b01a96aff31a.zip
Hide the QDM2 implementation and only expose it via a factory method, hopefully fixing compilation on most systems at the same time.
svn-id: r49170
Diffstat (limited to 'graphics')
-rw-r--r--graphics/video/qt_decoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/video/qt_decoder.cpp b/graphics/video/qt_decoder.cpp
index 5351b9b676..05f73526eb 100644
--- a/graphics/video/qt_decoder.cpp
+++ b/graphics/video/qt_decoder.cpp
@@ -1221,7 +1221,7 @@ Audio::AudioStream *QuickTimeDecoder::createAudioStream(Common::SeekableReadStre
#ifdef SOUND_QDM2_H
} else if (_streams[_audioStreamIndex]->codec_tag == MKID_BE('QDM2')) {
// Several Myst ME videos use this codec
- return new Audio::QDM2Stream(stream, _streams[_audioStreamIndex]->extradata);
+ return Audio::makeQDM2Stream(stream, _streams[_audioStreamIndex]->extradata);
#endif
}