aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sword1/animation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword1/animation.cpp b/engines/sword1/animation.cpp
index 3cc756545a..b27bc15d0d 100644
--- a/engines/sword1/animation.cpp
+++ b/engines/sword1/animation.cpp
@@ -166,7 +166,7 @@ bool MoviePlayer::load(uint32 id) {
oggSource->seek( header[SwordEngine::_systemVars.language * 2 + 0 + segCnt * 14]);
uint32 segSize = header[SwordEngine::_systemVars.language * 2 + 1 + segCnt * 14];
Common::MemoryReadStream *stream = oggSource->readStream(segSize);
- Audio::AudioStream *apStream = Audio::makeVorbisStream(streamm true);
+ Audio::AudioStream *apStream = Audio::makeVorbisStream(stream, true);
if (!apStream)
error("Can't create Vorbis Stream from file %s", sndName);
sStream->appendStream(apStream);