aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-17 08:48:20 +0100
committerMax Kellermann <max@duempel.org>2009-02-17 08:48:20 +0100
commitc4d69f0ae1e0df6bac03fe131b4e8a40f75b5c4b (patch)
tree1cc983db55068b312cd8890ab1e829b9f38e4874 /src
parent70523657bf61ce93b47e2137f2072925dd3fd3e5 (diff)
downloadmpd-c4d69f0ae1e0df6bac03fe131b4e8a40f75b5c4b.tar.gz
mpd-c4d69f0ae1e0df6bac03fe131b4e8a40f75b5c4b.tar.xz
mpd-c4d69f0ae1e0df6bac03fe131b4e8a40f75b5c4b.zip
renamed decoder plugin "mpc" to "mpcdec"
This plugin is based on "libmpcdec".
Diffstat (limited to '')
-rw-r--r--src/Makefile.am2
-rw-r--r--src/decoder/mpcdec_plugin.c (renamed from src/decoder/mpc_plugin.c)2
-rw-r--r--src/decoder_list.c4
3 files changed, 4 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 4f8a7db02..1fc01f000 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -271,7 +271,7 @@ mpd_SOURCES += decoder/mad_plugin.c
endif
if HAVE_MPCDEC
-mpd_SOURCES += decoder/mpc_plugin.c
+mpd_SOURCES += decoder/mpcdec_plugin.c
endif
if HAVE_WAVPACK
diff --git a/src/decoder/mpc_plugin.c b/src/decoder/mpcdec_plugin.c
index 23fa5787b..c84dfca9b 100644
--- a/src/decoder/mpc_plugin.c
+++ b/src/decoder/mpcdec_plugin.c
@@ -265,7 +265,7 @@ static struct tag *mpcTagDup(const char *file)
static const char *const mpcSuffixes[] = { "mpc", NULL };
-const struct decoder_plugin mpcPlugin = {
+const struct decoder_plugin mpcdec_decoder_plugin = {
.name = "mpc",
.stream_decode = mpc_decode,
.tag_dup = mpcTagDup,
diff --git a/src/decoder_list.c b/src/decoder_list.c
index 24a572a5e..9ed5fc560 100644
--- a/src/decoder_list.c
+++ b/src/decoder_list.c
@@ -33,7 +33,7 @@ extern const struct decoder_plugin oggflac_decoder_plugin;
extern const struct decoder_plugin audiofilePlugin;
extern const struct decoder_plugin mp4ff_decoder_plugin;
extern const struct decoder_plugin faad_decoder_plugin;
-extern const struct decoder_plugin mpcPlugin;
+extern const struct decoder_plugin mpcdec_decoder_plugin;
extern const struct decoder_plugin wavpack_plugin;
extern const struct decoder_plugin modplug_plugin;
extern const struct decoder_plugin mikmod_decoder_plugin;
@@ -65,7 +65,7 @@ static const struct decoder_plugin *const decoder_plugins[] = {
&mp4ff_decoder_plugin,
#endif
#ifdef HAVE_MPCDEC
- &mpcPlugin,
+ &mpcdec_decoder_plugin,
#endif
#ifdef HAVE_WAVPACK
&wavpack_plugin,