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 ...@@ -285,7 +285,7 @@ mpd_SOURCES += decoder/audiofile_plugin.c
endif endif
if HAVE_MIKMOD if HAVE_MIKMOD
mpd_SOURCES += decoder/mod_plugin.c mpd_SOURCES += decoder/mikmod_plugin.c
endif endif
if HAVE_MODPLUG if HAVE_MODPLUG
......
...@@ -247,8 +247,8 @@ static const char *const modSuffixes[] = { ...@@ -247,8 +247,8 @@ static const char *const modSuffixes[] = {
NULL NULL
}; };
const struct decoder_plugin modPlugin = { const struct decoder_plugin mikmod_decoder_plugin = {
.name = "mod", .name = "mikmod",
.init = mod_initMikMod, .init = mod_initMikMod,
.finish = mod_finishMikMod, .finish = mod_finishMikMod,
.file_decode = mod_decode, .file_decode = mod_decode,
......
...@@ -33,7 +33,7 @@ extern const struct decoder_plugin aacPlugin; ...@@ -33,7 +33,7 @@ extern const struct decoder_plugin aacPlugin;
extern const struct decoder_plugin mpcPlugin; extern const struct decoder_plugin mpcPlugin;
extern const struct decoder_plugin wavpack_plugin; extern const struct decoder_plugin wavpack_plugin;
extern const struct decoder_plugin modplug_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; extern const struct decoder_plugin ffmpeg_plugin;
static const struct decoder_plugin *const decoder_plugins[] = { static const struct decoder_plugin *const decoder_plugins[] = {
...@@ -68,7 +68,7 @@ static const struct decoder_plugin *const decoder_plugins[] = { ...@@ -68,7 +68,7 @@ static const struct decoder_plugin *const decoder_plugins[] = {
&modplug_plugin, &modplug_plugin,
#endif #endif
#ifdef HAVE_MIKMOD #ifdef HAVE_MIKMOD
&modPlugin, &mikmod_decoder_plugin,
#endif #endif
#ifdef HAVE_FFMPEG #ifdef HAVE_FFMPEG
&ffmpeg_plugin, &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