Commit cafaf33a authored by Max Kellermann's avatar Max Kellermann

renamed decoder plugin "aac" to "faad"

A decoder plugin should be named after the library which is used.
parent c5edb537
......@@ -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,
......
......@@ -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,
......
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