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

bluegr noreply at scummvm.org
Tue Dec 24 09:45:59 UTC 2024


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:
e313604469 SCUMM: Add a warning in createSoundStream() when MP3 isn't built in


Commit: e3136044695e5446199d735029c01f2b45de347b
    https://github.com/scummvm/scummvm/commit/e3136044695e5446199d735029c01f2b45de347b
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2024-12-24T11:45:43+02:00

Commit Message:
SCUMM: Add a warning in createSoundStream() when MP3 isn't built in

Changed paths:
    engines/scumm/soundse.cpp


diff --git a/engines/scumm/soundse.cpp b/engines/scumm/soundse.cpp
index 724f74cce6b..b6d9bd1130a 100644
--- a/engines/scumm/soundse.cpp
+++ b/engines/scumm/soundse.cpp
@@ -434,6 +434,8 @@ Audio::SeekableAudioStream *SoundSE::createSoundStream(Common::SeekableSubReadSt
 			DisposeAfterUse::YES
 		);
 #else
+		warning("createSoundStream: MP3 codec is not built in");
+		delete stream;
 		return nullptr;
 #endif
 	}




More information about the Scummvm-git-logs mailing list