From 4730666b26c3f6dd9776a7adf29b30814c900f37 Mon Sep 17 00:00:00 2001 From: Avuton Olrich Date: Sat, 6 Jan 2007 04:59:05 +0000 Subject: 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 --- src/inputPlugins/flac_plugin.c | 4 ++-- src/inputPlugins/oggflac_plugin.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/inputPlugins/flac_plugin.c b/src/inputPlugins/flac_plugin.c index ee8e61be6..0b3e23e1c 100644 --- a/src/inputPlugins/flac_plugin.c +++ b/src/inputPlugins/flac_plugin.c @@ -478,7 +478,7 @@ static unsigned int oggflac_try_decode(InputStream * inStream) } 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) { @@ -503,7 +503,7 @@ static int flac_plugin_init(void) #endif /* FLAC_API_VERSION_CURRENT >= 7 */ 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 = { "flac", diff --git a/src/inputPlugins/oggflac_plugin.c b/src/inputPlugins/oggflac_plugin.c index 721f38742..2384df140 100644 --- a/src/inputPlugins/oggflac_plugin.c +++ b/src/inputPlugins/oggflac_plugin.c @@ -398,7 +398,7 @@ fail: } 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 = { "oggflac", -- cgit v1.2.3