X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afh_common.c;h=dd9b319289f1c6e5da316926fdfafb8eb7ede4fc;hp=516ea6546ee09689adf3939fd2e8a976d33881da;hb=fe3d9cd155b5eac8706015854c343440823e12da;hpb=13ba5f96e64bd0f3157a6fe73ed7b950ec9c5ea7 diff --git a/afh_common.c b/afh_common.c index 516ea654..dd9b3192 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;