aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCameron Cawley2018-05-19 15:35:15 +0100
committerAdrian Frühwirth2018-05-19 16:31:57 +0000
commitd022572f1624fd2d1ccc0dbb53ab5bda17b50e85 (patch)
tree6d241a5281931e395f865101b52730cefc6833d4
parent4396b011ac307e69fb76581704b719cdc2afd4ee (diff)
downloadscummvm-rg350-d022572f1624fd2d1ccc0dbb53ab5bda17b50e85.tar.gz
scummvm-rg350-d022572f1624fd2d1ccc0dbb53ab5bda17b50e85.tar.bz2
scummvm-rg350-d022572f1624fd2d1ccc0dbb53ab5bda17b50e85.zip
WINTERMUTE: Fix loading Vorbis files
Fixes Trac#10533
-rw-r--r--engines/wintermute/base/sound/base_sound_buffer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/base/sound/base_sound_buffer.cpp b/engines/wintermute/base/sound/base_sound_buffer.cpp
index adcdd828a1..9891db1cb2 100644
--- a/engines/wintermute/base/sound/base_sound_buffer.cpp
+++ b/engines/wintermute/base/sound/base_sound_buffer.cpp
@@ -107,7 +107,7 @@ bool BaseSoundBuffer::loadFromFile(const Common::String &filename, bool forceRel
#ifdef USE_VORBIS
if (strFilename.hasSuffix(".ogg")) {
_stream = Audio::makeVorbisStream(_file, DisposeAfterUse::YES);
- }
+ } else
#endif
if (strFilename.hasSuffix(".wav")) {
int waveSize, waveRate;