Commit 4730666b authored by Avuton Olrich's avatar Avuton Olrich

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
parent 70a23d61
...@@ -478,7 +478,7 @@ static unsigned int oggflac_try_decode(InputStream * inStream) ...@@ -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) ...@@ -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",
......
...@@ -398,7 +398,7 @@ fail: ...@@ -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",
......
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