MIME db: make video/ogg sniffing more specific
Check the codec in the first Ogg page for known video codecs. If none is found, the file will be identified as audio/ogg instead. Fixes #8702.
This commit is contained in:
parent
36ef16bf08
commit
d594bd97d3
@ -13,5 +13,4 @@ resource(4, "META:EXTENS") message(234) {
|
||||
"type" = "video/ogg"
|
||||
};
|
||||
|
||||
resource(5, "META:SNIFF_RULE") "0.50 (\"OggS\")";
|
||||
|
||||
resource(5, "META:SNIFF_RULE") "0.6 (\"OggS\") [28] (\"BBCD\\0\" | \"\\213JNG\\r\\n\\032\\n\" | \"\\212MNG\\r\\n\\032\\n\" | \"\\211PNG\\r\\n\\032\\n\" | \"\\x80theora\" | \"YUV4MPEG\")";
|
||||
|
Loading…
Reference in New Issue
Block a user