fix ogg load erroneously throwing errors

main
cosmonaut 2021-10-26 17:31:00 -07:00
parent 39ef3c1043
commit e5b743d06b
1 changed files with 1 additions and 1 deletions

View File

@ -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)