diff options
author | Max Kellermann <max@duempel.org> | 2008-10-17 21:57:09 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-17 21:57:09 +0200 |
commit | 4ee8da2e694d29efef5f6311d3bf8504d474918f (patch) | |
tree | 868dc1a01c18db170e4259b450263fa507e5504f /src/inputPlugins/mp3_plugin.c | |
parent | 25b5d90e448146b6efaf4926680e35aee4a0af6c (diff) | |
download | mpd-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/mp3_plugin.c')
-rw-r--r-- | src/inputPlugins/mp3_plugin.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/inputPlugins/mp3_plugin.c b/src/inputPlugins/mp3_plugin.c index 13e4a4619..18eddf017 100644 --- a/src/inputPlugins/mp3_plugin.c +++ b/src/inputPlugins/mp3_plugin.c @@ -17,8 +17,9 @@ */ #include "../decoder_api.h" - -#ifdef HAVE_MAD +#include "../log.h" +#include "../utils.h" +#include "../conf.h" #include <mad.h> @@ -26,10 +27,6 @@ #include <id3tag.h> #endif -#include "../log.h" -#include "../utils.h" -#include "../conf.h" - #define FRAMES_CUSHION 2000 #define READ_BUFFER_SIZE 40960 @@ -1125,8 +1122,3 @@ struct decoder_plugin mp3Plugin = { .suffixes = mp3_suffixes, .mime_types = mp3_mimeTypes }; -#else - -struct decoder_plugin mp3Plugin; - -#endif /* HAVE_MAD */ |