X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=afh_common.c;h=0d54eea132d8b91973e01971ab945411865ca2bc;hb=b55f405f8005821ffa369b929bc0b419da62683d;hp=44a6fd62cbe50c758aba17b33dd45c0e7eb831c6;hpb=5ff2b0b3a6f9242033c436fb8272245f5594dd8c;p=paraslash.git diff --git a/afh_common.c b/afh_common.c index 44a6fd62..0d54eea1 100644 --- a/afh_common.c +++ b/afh_common.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1997-2011 Andre Noll + * Copyright (C) 1997-2012 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -28,6 +28,9 @@ void mp3_init(struct audio_format_handler *); #ifdef HAVE_SPEEX void spx_afh_init(struct audio_format_handler *); #endif +#ifdef HAVE_FLAC + void flac_afh_init(struct audio_format_handler *); +#endif void wma_afh_init(struct audio_format_handler *); /** @@ -67,6 +70,12 @@ static struct audio_format_handler afl[] = { .name = "spx", #ifdef HAVE_SPEEX .init = spx_afh_init, +#endif + }, + { + .name = "flac", +#ifdef HAVE_FLAC + .init = flac_afh_init, #endif }, {