aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/oggflac_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-12-29 22:33:46 +0100
committerMax Kellermann <max@duempel.org>2009-12-29 22:33:46 +0100
commitc7d099c75736664867914fd5013a0a844cd23adc (patch)
tree5e96dcabfe51a5cefbdcbc1047d9180d1120e1e1 /src/decoder/oggflac_plugin.c
parentd38c09051cbed3941f028fe76a1ac8ced280a549 (diff)
downloadmpd-c7d099c75736664867914fd5013a0a844cd23adc.tar.gz
mpd-c7d099c75736664867914fd5013a0a844cd23adc.tar.xz
mpd-c7d099c75736664867914fd5013a0a844cd23adc.zip
decoder/{ffmpeg,flac,vorbis}: added more flac/vorbis MIME types
Support deprecated MIME types such as "audio/x-ogg". Support new types such as "audio/flac".
Diffstat (limited to 'src/decoder/oggflac_plugin.c')
-rw-r--r--src/decoder/oggflac_plugin.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/decoder/oggflac_plugin.c b/src/decoder/oggflac_plugin.c
index c0e7e35e1..bdd589ccb 100644
--- a/src/decoder/oggflac_plugin.c
+++ b/src/decoder/oggflac_plugin.c
@@ -357,9 +357,11 @@ fail:
static const char *const oggflac_suffixes[] = { "ogg", "oga", NULL };
static const char *const oggflac_mime_types[] = {
- "audio/x-flac+ogg",
"application/ogg",
"application/x-ogg",
+ "audio/ogg",
+ "audio/x-ogg",
+ "audio/x-flac+ogg",
NULL
};