From c1ee053f7c3b8456254a2d062405139a175f838d Mon Sep 17 00:00:00 2001
From: Pascal Abresch <nep@packageloss.eu>
Date: Sat, 12 Oct 2019 18:17:48 +0200
Subject: [PATCH] fix detection of video/mp4 files via sniffer rule
---
src/data/mime_db/video/mp4 | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/data/mime_db/video/mp4 b/src/data/mime_db/video/mp4
index 034f0728..68ca185a 100644
a
|
b
|
resource(3, "META:EXTENS") message(234) {
|
12 | 12 | "type" = "video/mp4" |
13 | 13 | }; |
14 | 14 | |
15 | | resource(4, "META:SNIFF_RULE") "0.60 (\"\\000\\000\\000\\034ftypmp42\")"; |
| 15 | resource(4, "META:SNIFF_RULE") "0.60 [4](-i \"ftyp\")[8](-i \"isom\" | \"iso2\" | \"mmp4\" | \"mp41\" | \"mp42\") "; |
| 16 | // note: isom and iso2 as major type is against what iso sais, but these exist in the wild, thus they are here. |