Skip to content

Commit

Permalink
Fixed Ogg Vorbis support on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Aug 18, 2001
1 parent 3309045 commit 414ed1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions music_ogg.c
Expand Up @@ -77,7 +77,7 @@ OGG_music *OGG_new(const char *file)
return(NULL);
}
} else {
SDL_OutOfMemory();
SDL_SetError("Out of memory");
}
return(music);
}
Expand Down Expand Up @@ -133,7 +133,7 @@ static void OGG_getsome(OGG_music *music)
music->len_available = music->cvt.len_cvt;
music->snd_available = music->cvt.buf;
} else {
SDL_OutOfMemory();
SDL_SetError("Out of memory");
music->playing = 0;
}
}
Expand Down

0 comments on commit 414ed1f

Please sign in to comment.