diff options
author | Max Kellermann <max@duempel.org> | 2008-11-10 14:37:37 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-11-10 14:37:37 +0100 |
commit | 505959f74dc1819706f20b8ca074c1324aa9fb41 (patch) | |
tree | 2f50ce7204fcbb4cc0317b36f3949c5e77acd2ac /src/decoder_list.c | |
parent | 1256f908253c25417c82f76ce8cb154049db7948 (diff) | |
download | mpd-505959f74dc1819706f20b8ca074c1324aa9fb41.tar.gz mpd-505959f74dc1819706f20b8ca074c1324aa9fb41.tar.xz mpd-505959f74dc1819706f20b8ca074c1324aa9fb41.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | src/decoder_list.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |