Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
We don't need ov_open anymore. :)
  • Loading branch information
slouken committed Jul 18, 2007
1 parent 0cde9fa commit 4110c2c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions dynamic_ogg.c
Expand Up @@ -52,13 +52,6 @@ int Mix_InitOgg()
SDL_UnloadObject(vorbis.handle);
return -1;
}
vorbis.ov_open =
(int (*)(FILE *,OggVorbis_File *,char *,long))
SDL_LoadFunction(vorbis.handle, "ov_open");
if ( vorbis.ov_open == NULL ) {
SDL_UnloadObject(vorbis.handle);
return -1;
}
vorbis.ov_open_callbacks =
(int (*)(void *, OggVorbis_File *, char *, long, ov_callbacks))
SDL_LoadFunction(vorbis.handle, "ov_open_callbacks");
Expand Down Expand Up @@ -108,7 +101,6 @@ int Mix_InitOgg()
if ( vorbis.loaded == 0 ) {
vorbis.ov_clear = ov_clear;
vorbis.ov_info = ov_info;
vorbis.ov_open = ov_open;
vorbis.ov_open_callbacks = ov_open_callbacks;
vorbis.ov_pcm_total = ov_pcm_total;
vorbis.ov_read = ov_read;
Expand Down
1 change: 0 additions & 1 deletion dynamic_ogg.h
Expand Up @@ -32,7 +32,6 @@ typedef struct {
void *handle;
int (*ov_clear)(OggVorbis_File *vf);
vorbis_info *(*ov_info)(OggVorbis_File *vf,int link);
int (*ov_open)(FILE *f,OggVorbis_File *vf,char *initial,long ibytes);
int (*ov_open_callbacks)(void *datasource, OggVorbis_File *vf, char *initial, long ibytes, ov_callbacks callbacks);
ogg_int64_t (*ov_pcm_total)(OggVorbis_File *vf,int i);
#ifdef OGG_USE_TREMOR
Expand Down

0 comments on commit 4110c2c

Please sign in to comment.