X-Git-Url: https://git.nihav.org/?a=blobdiff_plain;f=nihav-registry%2Fsrc%2Fdetect.rs;h=f10b76e931bb43e18f38d7689094fb9021b98d62;hb=3813fe8a3408aa3b6dcb296ca7203c89f2a6894d;hp=e916dc649eda4a0dc6cf8ae5cbd212962452a9ac;hpb=ac818eac7671fa8ddfea5aa4fb86fc0b5ab82d2e;p=nihav.git diff --git a/nihav-registry/src/detect.rs b/nihav-registry/src/detect.rs index e916dc6..f10b76e 100644 --- a/nihav-registry/src/detect.rs +++ b/nihav-registry/src/detect.rs @@ -220,11 +220,27 @@ const DETECTORS: &[DetectConditions] = &[ &CC::Str(b"moov")), &CC::Str(b"ftyp")) }], }, + DetectConditions { + demux_name: "fcmp", + extensions: ".cmp", + conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"FCMP")}], + }, + DetectConditions { + demux_name: "fst", + extensions: ".fst", + conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"2TSF")}], + }, DetectConditions { demux_name: "gdv", extensions: ".gdv", conditions: &[CheckItem{offs: 0, cond: &CC::Eq(Arg::U32LE(0x29111994))}], }, + DetectConditions { + demux_name: "fable-imax", + extensions: ".imx", + conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"IMAX") }, + CheckItem{offs: 10, cond: &CC::Eq(Arg::U16LE(0x102)) }], + }, DetectConditions { demux_name: "realaudio", extensions: ".ra,.ram",