aboutsummaryrefslogtreecommitdiffstats
path: root/src/inputPlugins/_ogg_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/_ogg_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/_ogg_common.c')
-rw-r--r--src/inputPlugins/_ogg_common.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/inputPlugins/_ogg_common.c b/src/inputPlugins/_ogg_common.c
index 535b9a9dc..841b2ad3f 100644
--- a/src/inputPlugins/_ogg_common.c
+++ b/src/inputPlugins/_ogg_common.c
@@ -19,12 +19,8 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include "_flac_common.h"
#include "_ogg_common.h"
-
-#if defined(HAVE_OGGFLAC) || defined(HAVE_OGGVORBIS) || \
- (defined(FLAC_API_VERSION_CURRENT) && FLAC_API_VERSION_CURRENT > 7)
-
+#include "_flac_common.h"
#include "../utils.h"
ogg_stream_type ogg_stream_type_detect(InputStream * inStream)
@@ -51,5 +47,3 @@ ogg_stream_type ogg_stream_type_detect(InputStream * inStream)
}
return VORBIS;
}
-
-#endif /* defined(HAVE_OGGFLAC || defined(HAVE_OGGVORBIS) */