]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - ogg.c
split afs.h
[paraslash.git] / ogg.c
diff --git a/ogg.c b/ogg.c
index fa935d5090abb2a9eddb06fd87676b688fe63fc9..3445970bd867acfbcd7ad52a1df1a58edd9bf691 100644 (file)
--- a/ogg.c
+++ b/ogg.c
@@ -24,6 +24,7 @@
 #include "server.cmdline.h"
 #include "server.h"
 #include "afs.h"
 #include "server.cmdline.h"
 #include "server.h"
 #include "afs.h"
+#include "afh.h"
 #include "error.h"
 #include "string.h"
 
 #include "error.h"
 #include "string.h"
 
@@ -46,7 +47,7 @@ static int ogg_compute_header_len(void)
        unsigned int serial;
        char *buf;
        ogg_page page;
        unsigned int serial;
        char *buf;
        ogg_page page;
-        ogg_packet packet;
+       ogg_packet packet;
        vorbis_comment vc;
        vorbis_info vi;
        ogg_stream_state *stream_in = para_malloc(sizeof(ogg_stream_state));
        vorbis_comment vc;
        vorbis_info vi;
        ogg_stream_state *stream_in = para_malloc(sizeof(ogg_stream_state));
@@ -346,7 +347,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;