renamed the "mod" decoder plugin to "mikmod"

We have two mod plugins now: modplug and mod.  Rename the latter to a
more useful name.
This commit is contained in:
Max Kellermann 2009-01-24 20:18:44 +01:00
parent 5795be1f8d
commit 2bfe6f6412
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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,

View File

@ -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,