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.
This commit is contained in:
Max Kellermann 2008-11-10 14:37:37 +01:00
parent 1256f90825
commit 505959f74d
1 changed files with 1 additions and 1 deletions

View File

@ -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