aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins/oggvorbis_plugin.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/oggvorbis_plugin.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 '')
-rw-r--r--src/inputPlugins/oggvorbis_plugin.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/inputPlugins/oggvorbis_plugin.c b/src/inputPlugins/oggvorbis_plugin.c
index bf2448605..0eecb783f 100644
--- a/src/inputPlugins/oggvorbis_plugin.c
+++ b/src/inputPlugins/oggvorbis_plugin.c
@@ -18,12 +18,7 @@
/* TODO 'ogg' should probably be replaced with 'oggvorbis' in all instances */
-#include "../decoder_api.h"
-
-#ifdef HAVE_OGGVORBIS
-
#include "_ogg_common.h"
-
#include "../utils.h"
#include "../log.h"
@@ -390,9 +385,3 @@ struct decoder_plugin oggvorbisPlugin = {
.suffixes = oggvorbis_Suffixes,
.mime_types = oggvorbis_MimeTypes
};
-
-#else /* !HAVE_OGGVORBIS */
-
-struct decoder_plugin oggvorbisPlugin;
-
-#endif /* HAVE_OGGVORBIS */