decoder/opus: add MIME types audio/ogg and application/ogg

This commit is contained in:
Max Kellermann 2014-11-12 15:14:34 +01:00
parent 82460aa49f
commit 7c6b991de7
2 changed files with 9 additions and 0 deletions

2
NEWS
View File

@ -1,4 +1,6 @@
ver 0.19.4 (not yet released) ver 0.19.4 (not yet released)
* decoder
- opus: add MIME types audio/ogg and application/ogg
ver 0.19.3 (2014/11/11) ver 0.19.3 (2014/11/11)
* protocol * protocol

View File

@ -510,6 +510,13 @@ static const char *const opus_suffixes[] = {
}; };
static const char *const opus_mime_types[] = { static const char *const opus_mime_types[] = {
/* the official MIME type (RFC 5334) */
"audio/ogg",
/* deprecated (RFC 5334) */
"application/ogg",
/* deprecated; from an early draft */
"audio/opus", "audio/opus",
nullptr nullptr
}; };