diff options
author | Max Kellermann <max@duempel.org> | 2009-12-29 22:33:46 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-12-29 22:33:46 +0100 |
commit | c7d099c75736664867914fd5013a0a844cd23adc (patch) | |
tree | 5e96dcabfe51a5cefbdcbc1047d9180d1120e1e1 /src/decoder/vorbis_plugin.c | |
parent | d38c09051cbed3941f028fe76a1ac8ced280a549 (diff) | |
download | mpd-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 '')
-rw-r--r-- | src/decoder/vorbis_plugin.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/decoder/vorbis_plugin.c b/src/decoder/vorbis_plugin.c index d4f81e91f..0ff898647 100644 --- a/src/decoder/vorbis_plugin.c +++ b/src/decoder/vorbis_plugin.c @@ -405,8 +405,13 @@ static const char *const vorbis_suffixes[] = { static const char *const vorbis_mime_types[] = { "application/ogg", - "audio/x-vorbis+ogg", "application/x-ogg", + "audio/ogg", + "audio/vorbis", + "audio/vorbis+ogg", + "audio/x-ogg", + "audio/x-vorbis", + "audio/x-vorbis+ogg", NULL }; |