From 5e90f66edc816931996a72b8fca8b01a96aff31a Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Sun, 23 May 2010 19:54:17 +0000 Subject: 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 --- graphics/video/qt_decoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics/video') 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 } -- cgit v1.2.3