From: Kostya Shishkov Date: Fri, 6 Mar 2020 18:21:55 +0000 (+0100) Subject: detect: fix Bink magic words X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=4998874b5e346025fa65e27020503989eebe47e6;p=nihav.git detect: fix Bink magic words --- diff --git a/nihav-registry/src/detect.rs b/nihav-registry/src/detect.rs index 44b6e54..96b9440 100644 --- a/nihav-registry/src/detect.rs +++ b/nihav-registry/src/detect.rs @@ -222,8 +222,8 @@ const DETECTORS: &[DetectConditions] = &[ DetectConditions { demux_name: "bink", extensions: ".bik,.bk2", - conditions: &[CheckItem{offs: 0, cond: &CC::Or(&CC::In(Arg::U32BE(0x32494B62), // BIKb - Arg::U32BE(0x32494B7B)), // BIKz + conditions: &[CheckItem{offs: 0, cond: &CC::Or(&CC::In(Arg::U32BE(0x42494B62), // BIKb + Arg::U32BE(0x42494B7B)), // BIKz &CC::In(Arg::U32BE(0x4B423261), // KB2a Arg::U32BE(0x4B42327B)))}], // KB2z },