diff --git a/src/mimedb.rs b/src/mimedb.rs index 613a4ba..9be3820 100644 --- a/src/mimedb.rs +++ b/src/mimedb.rs @@ -25,11 +25,6 @@ cfg_if! { fn init() -> Self { let mut info = infer::Infer::new(); - // jpeg2000 support because why the stinch not - info.add("image/jpeg2000", ".jp2", |buf| { - buf.len() > 23 && buf[..23] == b"\x00\x00\x00\x0C\x6A\x50\x20\x20\x0D\x0A\x87\x0A\x6A\x70\x32\x20"[..] - }); - info.add("application/vnd.oasis.opendocument.text", "odt", |buf| { open_document_check(buf, "text") });