]> git.nihav.org Git - nihav.git/commitdiff
BMV detection entry
authorKostya Shishkov <kostya.shishkov@gmail.com>
Wed, 23 Jan 2019 13:04:20 +0000 (14:04 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Wed, 23 Jan 2019 13:04:20 +0000 (14:04 +0100)
nihav-core/src/detect.rs

index b2b34148c27d2e1164abe7e1ac69d0b141c7e995..b2d4295ff9ac1a24938ea5b34ce3c2e28ce53d52 100644 (file)
@@ -198,6 +198,11 @@ const DETECTORS: &[DetectConditions] = &[
         extensions: ".smk",
         conditions: &[CheckItem{offs: 0, cond: &CC::Or(&CC::Str(b"SMK2"), &CC::Str(b"SMK4"))}],
     },
+    DetectConditions {
+        demux_name: "bmv",
+        extensions: ".bmv",
+        conditions: &[],
+    },
 ];
 
 pub fn detect_format(name: &str, src: &mut ByteReader) -> Option<(&'static str, DetectionScore)> {