aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-16 19:30:45 +0100
committerMax Kellermann <max@duempel.org>2009-02-16 19:30:45 +0100
commitc5edb53797fb15b4753688b1a653bdfda53f25aa (patch)
tree69424a349c50989a09ad21e125b853bec5ed0e93 /src/decoder
parent585f81ece1d8797186d7693ad1c0226ea762519f (diff)
downloadmpd-c5edb53797fb15b4753688b1a653bdfda53f25aa.tar.gz
mpd-c5edb53797fb15b4753688b1a653bdfda53f25aa.tar.xz
mpd-c5edb53797fb15b4753688b1a653bdfda53f25aa.zip
renamed decoder plugin "mp3" to "mad"
A decoder plugin should be named after the library which is used.
Diffstat (limited to 'src/decoder')
-rw-r--r--src/decoder/mad_plugin.c (renamed from src/decoder/mp3_plugin.c)4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decoder/mp3_plugin.c b/src/decoder/mad_plugin.c
index 9956435c9..71d72bd12 100644
--- a/src/decoder/mp3_plugin.c
+++ b/src/decoder/mad_plugin.c
@@ -1208,8 +1208,8 @@ static struct tag *mp3_tag_dup(const char *file)
static const char *const mp3_suffixes[] = { "mp3", "mp2", NULL };
static const char *const mp3_mime_types[] = { "audio/mpeg", NULL };
-const struct decoder_plugin mp3Plugin = {
- .name = "mp3",
+const struct decoder_plugin mad_decoder_plugin = {
+ .name = "mad",
.init = mp3_plugin_init,
.stream_decode = mp3_decode,
.tag_dup = mp3_tag_dup,