X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afh_common.c;fp=afh_common.c;h=1614c27c6c9dd6d7588399ca164a9fd754087e83;hp=b47def871a94e781c4afe3987c1f68071e1ea0b2;hb=6811b2f8ea8b7a8c77046285c9432aee6327da80;hpb=a85b3b947174c64ce06b4d6e438677055bf3f1ae;ds=sidebyside diff --git a/afh_common.c b/afh_common.c index b47def87..1614c27c 100644 --- a/afh_common.c +++ b/afh_common.c @@ -16,7 +16,17 @@ #include "afh.h" typedef void afh_init_func(struct audio_format_handler *); -/* It does not hurt to declare init functions which are not available. */ + +/* + * Declaration of the audio format handler init functions. + * + * These symbols are referenced in the afl array below. + * + * Most audio format handlers depend on an external library and are not + * compiled in if the library is not installed. Hence it is well possible that + * not all of these functions are defined. It does not hurt to declare them + * anyway, and this avoids another set of ifdefs. + */ 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;