X-Git-Url: https://git.nihav.org/?p=nihav.git;a=blobdiff_plain;f=nihav-core%2Fsrc%2Fdetect.rs;h=8308ba87ef6f5407a5cc657db3874be64dc0da63;hp=b2d4295ff9ac1a24938ea5b34ce3c2e28ce53d52;hb=c6c21059c1782d1be3bce200862e96bf97c960bd;hpb=db63f876c1a23ab4b52629a485aab520101a6345 diff --git a/nihav-core/src/detect.rs b/nihav-core/src/detect.rs index b2d4295..8308ba8 100644 --- a/nihav-core/src/detect.rs +++ b/nihav-core/src/detect.rs @@ -193,6 +193,14 @@ const DETECTORS: &[DetectConditions] = &[ extensions: ".ivr", conditions: &[CheckItem{offs: 0, cond: &CC::Or(&CC::Str(b".R1M"), &CC::Str(b".REC"))}], }, + DetectConditions { + demux_name: "bink", + extensions: ".bik,.kb2", + conditions: &[CheckItem{offs: 0, cond: &CC::Or(&CC::In(Arg::U32BE(0x32494B62), // BIKb + Arg::U32BE(0x32494B7B)), // BIKz + &CC::In(Arg::U32BE(0x4B423261), // KB2a + Arg::U32BE(0x4B42327B)))}], // KB2z + }, DetectConditions { demux_name: "smacker", extensions: ".smk",