Skip to content

Commit

Permalink
Fixed dynamic loading of Tremor
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jul 18, 2007
1 parent 4110c2c commit 5f64dd8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dynamic_ogg.c
Expand Up @@ -67,7 +67,11 @@ int Mix_InitOgg()
return -1;
}
vorbis.ov_read =
(long (*)(OggVorbis_File *,char *,int, int,int,int,int *))
#ifdef OGG_USE_TREMOR
(long (*)(OggVorbis_File *,char *,int,int *))
#else
(long (*)(OggVorbis_File *,char *,int,int,int,int,int *))
#endif
SDL_LoadFunction(vorbis.handle, "ov_read");
if ( vorbis.ov_read == NULL ) {
SDL_UnloadObject(vorbis.handle);
Expand Down

0 comments on commit 5f64dd8

Please sign in to comment.