X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=ogg.c;h=6bdb2306f6c0fb29147d8b63673e804060c2b3cd;hp=e5647b26eca11e8ce975d69034944174fb973164;hb=ccf42979a31a56e991b5c6d7d4043381f7487d6e;hpb=db34194eaab9819772bd55ea1ab08c719ed8f1c8 diff --git a/ogg.c b/ogg.c index e5647b26..6bdb2306 100644 --- a/ogg.c +++ b/ogg.c @@ -345,7 +345,8 @@ static char *ogg_get_header_info(int *len) return header; } -void ogg_init(void *p) +static const char* ogg_suffixes[] = {"ogg", NULL}; +void ogg_init(struct audio_format_handler *p) { af = p; af->reposition_stream = ogg_reposition_stream; @@ -356,4 +357,5 @@ void ogg_init(void *p) af->chunk_tv.tv_sec = 0; af->chunk_tv.tv_usec = 250 * 1000; tv_scale(3, &af->chunk_tv, &af->eof_tv); + af->suffixes = ogg_suffixes; }