hrev54425 adds 1 changeset to branch 'master'
old head: 36ef16bf087873ebf45fe1f94511fbbe81a6773d
new head: d594bd97d3da8a97bda131544609f1322dcf1d04
overview:
https://git.haiku-os.org/haiku/log/?qt=range&q=d594bd97d3da+%5E36ef16bf0878
----------------------------------------------------------------------------
d594bd97d3da: 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.
[ Adrien Destugues <pulkomandy@xxxxxxxxxxxxx> ]
----------------------------------------------------------------------------
Revision: hrev54425
Commit: d594bd97d3da8a97bda131544609f1322dcf1d04
URL: https://git.haiku-os.org/haiku/commit/?id=d594bd97d3da
Author: Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
Date: Mon Jul 13 14:13:42 2020 UTC
Ticket: https://dev.haiku-os.org/ticket/8702
----------------------------------------------------------------------------
1 file changed, 1 insertion(+), 2 deletions(-)
src/data/mime_db/video/ogg | 3 +--
----------------------------------------------------------------------------
diff --git a/src/data/mime_db/video/ogg b/src/data/mime_db/video/ogg
index ca78b44550..74f7fc9596 100644
--- a/src/data/mime_db/video/ogg
+++ b/src/data/mime_db/video/ogg
@@ -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\")";