decoder/opus: add MIME types audio/ogg and application/ogg
This commit is contained in:
parent
82460aa49f
commit
7c6b991de7
2
NEWS
2
NEWS
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue