]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - afh_common.c
afh: Unify name of init functions.
[paraslash.git] / afh_common.c
index 4d8884a6ce8d07e6413d9a3c71630078bdbe853b..b47def871a94e781c4afe3987c1f68071e1ea0b2 100644 (file)
@@ -17,7 +17,7 @@
 
 typedef void afh_init_func(struct audio_format_handler *);
 /* It does not hurt to declare init functions which are not available. */
-extern afh_init_func mp3_init, ogg_init, aac_afh_init, wma_afh_init,
+extern afh_init_func mp3_afh_init, ogg_afh_init, aac_afh_init, wma_afh_init,
        spx_afh_init, flac_afh_init, opus_afh_init;
 
 /** The list of all status items */
@@ -38,12 +38,12 @@ const char *status_item_list[] = {STATUS_ITEM_ARRAY};
 static struct audio_format_handler afl[] = {
        {
                .name = "mp3",
-               .init = mp3_init,
+               .init = mp3_afh_init,
        },
        {
                .name = "ogg",
 #if defined(HAVE_OGG) && defined(HAVE_VORBIS)
-               .init = ogg_init,
+               .init = ogg_afh_init,
 #endif
        },
        {