From 505959f74dc1819706f20b8ca074c1324aa9fb41 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 10 Nov 2008 14:37:37 +0100 Subject: flac: enable oggflac with libflac The "oggflac" plugin was enabled only if HAVE_FLAC_COMMON was defined. HAVE_FLAC_COMMON however is only an automake variable, and is never available in decoder_list.c. Make decoder_list.c depend on HAVE_FLAC||HAVE_OGGFLAC instead. --- src/decoder_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/decoder_list.c b/src/decoder_list.c index 1dfb54255..c7f66289f 100644 --- a/src/decoder_list.c +++ b/src/decoder_list.c @@ -40,7 +40,7 @@ static const struct decoder_plugin *const decoder_plugins[] = { #ifdef HAVE_OGGVORBIS &oggvorbisPlugin, #endif -#ifdef HAVE_FLAC_COMMON +#if defined(HAVE_FLAC) || defined(HAVE_OGGFLAC) &oggflacPlugin, #endif #ifdef HAVE_FLAC -- cgit v1.2.3