Skip to content

Commit

Permalink
Fixed typo in OGG_CreateFromIO()
Browse files Browse the repository at this point in the history
Fixes #599
  • Loading branch information
slouken committed Mar 19, 2024
1 parent e98d0a9 commit 12fb85e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/codecs/music_ogg_stb.c
Expand Up @@ -180,10 +180,10 @@ static void *OGG_CreateFromIO(SDL_IOStream *src, SDL_bool closeio)
music->volume = MIX_MAX_VOLUME;
music->section = -1;

music->vf = stb_vorbis_open_IO(src, 0, &error, NULL);
music->vf = stb_vorbis_open_io(src, 0, &error, NULL);

if (music->vf == NULL) {
set_ov_error("stb_vorbis_open_IO", error);
set_ov_error("stb_vorbis_open_io", error);
SDL_free(music);
return NULL;
}
Expand Down

0 comments on commit 12fb85e

Please sign in to comment.