aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins/_flac_common.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-17 21:57:09 +0200
committerMax Kellermann <max@duempel.org>2008-10-17 21:57:09 +0200
commit4ee8da2e694d29efef5f6311d3bf8504d474918f (patch)
tree868dc1a01c18db170e4259b450263fa507e5504f /src/inputPlugins/_flac_common.c
parent25b5d90e448146b6efaf4926680e35aee4a0af6c (diff)
downloadmpd-4ee8da2e694d29efef5f6311d3bf8504d474918f.tar.gz
mpd-4ee8da2e694d29efef5f6311d3bf8504d474918f.tar.xz
mpd-4ee8da2e694d29efef5f6311d3bf8504d474918f.zip
Makefile.am: don't compile disabled decoder plugins
Don't compile the sources of disabled decoder plugins at all, and don't attempt to register these.
Diffstat (limited to 'src/inputPlugins/_flac_common.c')
-rw-r--r--src/inputPlugins/_flac_common.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/inputPlugins/_flac_common.c b/src/inputPlugins/_flac_common.c
index f24e20531..db43e0003 100644
--- a/src/inputPlugins/_flac_common.c
+++ b/src/inputPlugins/_flac_common.c
@@ -19,12 +19,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "../decoder_api.h"
-
-#if defined(HAVE_FLAC) || defined(HAVE_OGGFLAC)
-
#include "_flac_common.h"
-
#include "../log.h"
#include <FLAC/format.h>
@@ -326,5 +321,3 @@ flac_common_write(FlacData *data, const FLAC__Frame * frame,
return FLAC__STREAM_DECODER_WRITE_STATUS_CONTINUE;
}
-
-#endif /* HAVE_FLAC || HAVE_OGGFLAC */