aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-16 19:30:54 +0100
committerMax Kellermann <max@duempel.org>2009-02-16 19:30:54 +0100
commitcafaf33aa89f7002522712e12e26a2565e6d832d (patch)
treedc63655d6a3a3dd2ff9d1b549921af918a6b1e30 /src
parentc5edb53797fb15b4753688b1a653bdfda53f25aa (diff)
downloadmpd-cafaf33aa89f7002522712e12e26a2565e6d832d.tar.gz
mpd-cafaf33aa89f7002522712e12e26a2565e6d832d.tar.xz
mpd-cafaf33aa89f7002522712e12e26a2565e6d832d.zip
renamed decoder plugin "aac" to "faad"
A decoder plugin should be named after the library which is used.
Diffstat (limited to 'src')
-rw-r--r--src/decoder/faad_plugin.c (renamed from src/decoder/aac_plugin.c)4
-rw-r--r--src/decoder_list.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/decoder/aac_plugin.c b/src/decoder/faad_plugin.c
index 694075415..15fbf030e 100644
--- a/src/decoder/aac_plugin.c
+++ b/src/decoder/faad_plugin.c
@@ -460,8 +460,8 @@ static struct tag *aacTagDup(const char *file)
static const char *const aac_suffixes[] = { "aac", NULL };
static const char *const aac_mimeTypes[] = { "audio/aac", "audio/aacp", NULL };
-const struct decoder_plugin aacPlugin = {
- .name = "aac",
+const struct decoder_plugin faad_decoder_plugin = {
+ .name = "faad",
.stream_decode = aac_stream_decode,
.tag_dup = aacTagDup,
.suffixes = aac_suffixes,
diff --git a/src/decoder_list.c b/src/decoder_list.c
index b6093a9bc..d7360ce78 100644
--- a/src/decoder_list.c
+++ b/src/decoder_list.c
@@ -32,7 +32,7 @@ extern const struct decoder_plugin flac_decoder_plugin;
extern const struct decoder_plugin oggflac_decoder_plugin;
extern const struct decoder_plugin audiofilePlugin;
extern const struct decoder_plugin mp4_plugin;
-extern const struct decoder_plugin aacPlugin;
+extern const struct decoder_plugin faad_decoder_plugin;
extern const struct decoder_plugin mpcPlugin;
extern const struct decoder_plugin wavpack_plugin;
extern const struct decoder_plugin modplug_plugin;
@@ -59,7 +59,7 @@ static const struct decoder_plugin *const decoder_plugins[] = {
&audiofilePlugin,
#endif
#ifdef HAVE_FAAD
- &aacPlugin,
+ &faad_decoder_plugin,
#endif
#ifdef HAVE_MP4
&mp4_plugin,