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:
		| @@ -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", | ||||
|   | ||||
| @@ -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", | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Avuton Olrich
					Avuton Olrich