X-Git-Url: https://git.nihav.org/?p=nihav.git;a=blobdiff_plain;f=nihav-registry%2Fsrc%2Fdetect.rs;fp=nihav-registry%2Fsrc%2Fdetect.rs;h=3e1d26cfb842b6698bc7fb8905c9f347c7f6244c;hp=67fba7023b57cc543d71d2ae2d9971ab5748ec97;hb=e01d4987aa11af424461a7c0e6f2a4d82a458fc5;hpb=b8e71e0a090fb00f3b3e97279dd9f65590238f5c diff --git a/nihav-registry/src/detect.rs b/nihav-registry/src/detect.rs index 67fba70..3e1d26c 100644 --- a/nihav-registry/src/detect.rs +++ b/nihav-registry/src/detect.rs @@ -241,6 +241,12 @@ const DETECTORS: &[DetectConditions] = &[ conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"FLV") }, CheckItem{offs: 3, cond: &CC::Le(Arg::Byte(1)) }], }, + DetectConditions { + demux_name: "ivf", + extensions: ".ivf", + conditions: &[CheckItem{offs: 0, cond: &CC::Str(&[0x50, 0xEF, 0x81, 0x19, 0xB3, 0xBD, 0xD0, 0x11, 0xA3, 0xE5, 0x00, 0xA0, 0xC9, 0x24, 0x44])}, + CheckItem{offs: 15, cond: &CC::Or(&CC::Eq(Arg::Byte(0x36)), &CC::Eq(Arg::Byte(0x37)))}], + }, DetectConditions { demux_name: "dkivf", extensions: ".ivf",