renamed decoder plugin "aac" to "faad"

A decoder plugin should be named after the library which is used.
This commit is contained in:
Max Kellermann 2009-02-16 19:30:54 +01:00
parent c5edb53797
commit cafaf33aa8
2 changed files with 4 additions and 4 deletions

View File

@ -460,8 +460,8 @@ static struct tag *aacTagDup(const char *file)
static const char *const aac_suffixes[] = { "aac", NULL }; static const char *const aac_suffixes[] = { "aac", NULL };
static const char *const aac_mimeTypes[] = { "audio/aac", "audio/aacp", NULL }; static const char *const aac_mimeTypes[] = { "audio/aac", "audio/aacp", NULL };
const struct decoder_plugin aacPlugin = { const struct decoder_plugin faad_decoder_plugin = {
.name = "aac", .name = "faad",
.stream_decode = aac_stream_decode, .stream_decode = aac_stream_decode,
.tag_dup = aacTagDup, .tag_dup = aacTagDup,
.suffixes = aac_suffixes, .suffixes = aac_suffixes,

View File

@ -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 oggflac_decoder_plugin;
extern const struct decoder_plugin audiofilePlugin; extern const struct decoder_plugin audiofilePlugin;
extern const struct decoder_plugin mp4_plugin; 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 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;
@ -59,7 +59,7 @@ static const struct decoder_plugin *const decoder_plugins[] = {
&audiofilePlugin, &audiofilePlugin,
#endif #endif
#ifdef HAVE_FAAD #ifdef HAVE_FAAD
&aacPlugin, &faad_decoder_plugin,
#endif #endif
#ifdef HAVE_MP4 #ifdef HAVE_MP4
&mp4_plugin, &mp4_plugin,