struct audio_format_handler: use proper pointer type for the init function
[paraslash.git] / ogg.c
diff --git a/ogg.c b/ogg.c
index fa935d5090abb2a9eddb06fd87676b688fe63fc9..6bdb2306f6c0fb29147d8b63673e804060c2b3cd 100644 (file)
--- a/ogg.c
+++ b/ogg.c
@@ -346,7 +346,7 @@ static char *ogg_get_header_info(int *len)
 }
 
 static const char* ogg_suffixes[] = {"ogg", NULL};
 }
 
 static const char* ogg_suffixes[] = {"ogg", NULL};
-void ogg_init(void *p)
+void ogg_init(struct audio_format_handler *p)
 {
        af = p;
        af->reposition_stream = ogg_reposition_stream;
 {
        af = p;
        af->reposition_stream = ogg_reposition_stream;