From e5b743d06be2ac24f046972aa128cc02a4e295a0 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Tue, 26 Oct 2021 17:31:00 -0700 Subject: [PATCH] fix ogg load erroneously throwing errors --- src/FAudioGMS.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/FAudioGMS.c b/src/FAudioGMS.c index 2d1f68f..ec52132 100644 --- a/src/FAudioGMS.c +++ b/src/FAudioGMS.c @@ -854,7 +854,7 @@ static FAudioGMS_SoundInstance* FAudioGMS_INTERNAL_SoundInstance_CreateFromStati double FAudioGMS_StreamingSound_LoadOGG(char* filePath) { - int error = -1; + int error = 0; stb_vorbis *fileHandle = stb_vorbis_open_filename(filePath, &error, NULL); if (error != 0)