Commit 2bfe6f64 authored by Max Kellermann's avatar Max Kellermann

renamed the "mod" decoder plugin to "mikmod"

We have two mod plugins now: modplug and mod. Rename the latter to a more useful name.
parent 5795be1f
......@@ -285,7 +285,7 @@ mpd_SOURCES += decoder/audiofile_plugin.c
endif
if HAVE_MIKMOD
mpd_SOURCES += decoder/mod_plugin.c
mpd_SOURCES += decoder/mikmod_plugin.c
endif
if HAVE_MODPLUG
......
......@@ -247,8 +247,8 @@ static const char *const modSuffixes[] = {
NULL
};
const struct decoder_plugin modPlugin = {
.name = "mod",
const struct decoder_plugin mikmod_decoder_plugin = {
.name = "mikmod",
.init = mod_initMikMod,
.finish = mod_finishMikMod,
.file_decode = mod_decode,
......
......@@ -33,7 +33,7 @@ extern const struct decoder_plugin aacPlugin;
extern const struct decoder_plugin mpcPlugin;
extern const struct decoder_plugin wavpack_plugin;
extern const struct decoder_plugin modplug_plugin;
extern const struct decoder_plugin modPlugin;
extern const struct decoder_plugin mikmod_decoder_plugin;
extern const struct decoder_plugin ffmpeg_plugin;
static const struct decoder_plugin *const decoder_plugins[] = {
......@@ -68,7 +68,7 @@ static const struct decoder_plugin *const decoder_plugins[] = {
&modplug_plugin,
#endif
#ifdef HAVE_MIKMOD
&modPlugin,
&mikmod_decoder_plugin,
#endif
#ifdef HAVE_FFMPEG
&ffmpeg_plugin,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment