aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2007-01-06 04:59:05 +0000
committerAvuton Olrich <avuton@gmail.com>2007-01-06 04:59:05 +0000
commit4730666b26c3f6dd9776a7adf29b30814c900f37 (patch)
treea5dacda020e88de440c98d858a29b02ebc391e6e
parent70a23d61ccee0deae42e49245fa67ef6b61ed857 (diff)
downloadmpd-4730666b26c3f6dd9776a7adf29b30814c900f37.tar.gz
mpd-4730666b26c3f6dd9776a7adf29b30814c900f37.tar.xz
mpd-4730666b26c3f6dd9776a7adf29b30814c900f37.zip
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
-rw-r--r--src/inputPlugins/flac_plugin.c4
-rw-r--r--src/inputPlugins/oggflac_plugin.c2
2 files changed, 3 insertions, 3 deletions
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",