aboutsummaryrefslogtreecommitdiffstats
path: root/src/audioOutputs/audioOutput_shout.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-09 15:18:21 +0200
committerMax Kellermann <max@duempel.org>2008-10-09 15:18:21 +0200
commit5583b6c5e1c09fdb408ee425f0bf7f030d51452e (patch)
tree59bc6b14ec38c3bb8f76f5f44e058d0c1352fe3b /src/audioOutputs/audioOutput_shout.c
parent671b455133546abbff3f5e4ceb2d43359a912a5e (diff)
downloadmpd-5583b6c5e1c09fdb408ee425f0bf7f030d51452e.tar.gz
mpd-5583b6c5e1c09fdb408ee425f0bf7f030d51452e.tar.xz
mpd-5583b6c5e1c09fdb408ee425f0bf7f030d51452e.zip
shout: removed DISABLED_SHOUT_ENCODER_PLUGIN
Having an array with disabled entries sucks. Removed that DISABLED_SHOUT_ENCODER_PLUGIN macro, and fill the plugin list only with plugins which are actually enabled. This should be done for all plugin types.
Diffstat (limited to 'src/audioOutputs/audioOutput_shout.c')
-rw-r--r--src/audioOutputs/audioOutput_shout.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/audioOutputs/audioOutput_shout.c b/src/audioOutputs/audioOutput_shout.c
index 181091d59..b9deef295 100644
--- a/src/audioOutputs/audioOutput_shout.c
+++ b/src/audioOutputs/audioOutput_shout.c
@@ -30,8 +30,12 @@
static int shout_init_count;
static const struct shout_encoder_plugin *const shout_encoder_plugins[] = {
+#ifdef HAVE_SHOUT_MP3
&shout_mp3_encoder,
+#endif
+#ifdef HAVE_SHOUT_OGG
&shout_ogg_encoder,
+#endif
NULL
};