Fix the mime types for flac & oggflac, see mantis bug #1423 for more information

git-svn-id: https://svn.musicpd.org/mpd/trunk@5222 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Avuton Olrich 2007-01-06 04:59:05 +00:00
parent 70a23d61cc
commit 4730666b26
2 changed files with 3 additions and 3 deletions

View File

@ -478,7 +478,7 @@ static unsigned int oggflac_try_decode(InputStream * inStream)
} }
static char *oggflac_suffixes[] = { "ogg", NULL }; static char *oggflac_suffixes[] = { "ogg", NULL };
static char *oggflac_mime_types[] = { "application/ogg", NULL }; static char *oggflac_mime_types[] = { "audio/x-flac+ogg", NULL };
static int flac_plugin_init(void) static int flac_plugin_init(void)
{ {
@ -503,7 +503,7 @@ static int flac_plugin_init(void)
#endif /* FLAC_API_VERSION_CURRENT >= 7 */ #endif /* FLAC_API_VERSION_CURRENT >= 7 */
static char *flacSuffixes[] = { "flac", NULL }; static char *flacSuffixes[] = { "flac", NULL };
static char *flac_mime_types[] = { "application/x-flac", NULL }; static char *flac_mime_types[] = { "audio/x-flac", NULL };
InputPlugin flacPlugin = { InputPlugin flacPlugin = {
"flac", "flac",

View File

@ -398,7 +398,7 @@ fail:
} }
static char *oggflac_Suffixes[] = { "ogg", NULL }; static char *oggflac_Suffixes[] = { "ogg", NULL };
static char *oggflac_mime_types[] = { "application/ogg", NULL }; static char *oggflac_mime_types[] = { "audio/x-flac+ogg", NULL };
InputPlugin oggflacPlugin = { InputPlugin oggflacPlugin = {
"oggflac", "oggflac",