From 46ebe27f98dae9147dc6e95c64799c99c325aa20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Wed, 14 Mar 2012 23:48:40 +0100 Subject: [PATCH] matroska mime: detect with four first bytes. --- src/data/beos_mime/audio/x-matroska | 3 +-- src/data/beos_mime/video/x-matroska | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/data/beos_mime/audio/x-matroska b/src/data/beos_mime/audio/x-matroska index de375a5eae..9c51695406 100644 --- a/src/data/beos_mime/audio/x-matroska +++ b/src/data/beos_mime/audio/x-matroska @@ -3,8 +3,7 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime"; resource(1, "META:TYPE") "audio/x-matroska"; -// TODO: check this -// resource(2, "META:SNIFF_RULE") "0.50 (0x1A45DFA3934282886D6174726F736B61428781014285810118538067)"; +resource(2, "META:SNIFF_RULE") "0.50 (0x1A45DFA3)"; resource(3, "META:S:DESC") #'MSDC' "Matroska Audio"; diff --git a/src/data/beos_mime/video/x-matroska b/src/data/beos_mime/video/x-matroska index 09cd229cd7..b0531ab206 100644 --- a/src/data/beos_mime/video/x-matroska +++ b/src/data/beos_mime/video/x-matroska @@ -3,8 +3,7 @@ resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime"; resource(1, "META:TYPE") "video/x-matroska"; -// TODO: check this -//resource(2, "META:SNIFF_RULE") "0.50 (0x1A45DFA3934282886D6174726F736B61428781014285810118538067)"; +resource(2, "META:SNIFF_RULE") "0.50 (0x1A45DFA3)"; resource(3, "META:S:DESC") #'MSDC' "Matroska Video";