[Scummvm-git-logs] scummvm master -> d022572f1624fd2d1ccc0dbb53ab5bda17b50e85

bonki bonki at users.noreply.github.com
Sat May 19 18:32:00 CEST 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
d022572f16 WINTERMUTE: Fix loading Vorbis files


Commit: d022572f1624fd2d1ccc0dbb53ab5bda17b50e85
    https://github.com/scummvm/scummvm/commit/d022572f1624fd2d1ccc0dbb53ab5bda17b50e85
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2018-05-19T16:31:57Z

Commit Message:
WINTERMUTE: Fix loading Vorbis files
Fixes Trac#10533

Changed paths:
    engines/wintermute/base/sound/base_sound_buffer.cpp


diff --git a/engines/wintermute/base/sound/base_sound_buffer.cpp b/engines/wintermute/base/sound/base_sound_buffer.cpp
index adcdd82..9891db1 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;





More information about the Scummvm-git-logs mailing list