Commit 505959f7 authored by Max Kellermann's avatar Max Kellermann

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.
parent 1256f908
...@@ -40,7 +40,7 @@ static const struct decoder_plugin *const decoder_plugins[] = { ...@@ -40,7 +40,7 @@ static const struct decoder_plugin *const decoder_plugins[] = {
#ifdef HAVE_OGGVORBIS #ifdef HAVE_OGGVORBIS
&oggvorbisPlugin, &oggvorbisPlugin,
#endif #endif
#ifdef HAVE_FLAC_COMMON #if defined(HAVE_FLAC) || defined(HAVE_OGGFLAC)
&oggflacPlugin, &oggflacPlugin,
#endif #endif
#ifdef HAVE_FLAC #ifdef HAVE_FLAC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment