]> git.nihav.org Git - nihav.git/commitdiff
detect: fix Bink magic words
authorKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 6 Mar 2020 18:21:55 +0000 (19:21 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Fri, 6 Mar 2020 18:21:55 +0000 (19:21 +0100)
nihav-registry/src/detect.rs

index 44b6e54c919b074646c167cf9bc94890ff8d6a77..96b9440a83cc88b16377903d1ffe2d33d77c8beb 100644 (file)
@@ -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
     },