X-Git-Url: https://git.nihav.org/?a=blobdiff_plain;f=nihav-core%2Fsrc%2Fdetect.rs;h=b2d4295ff9ac1a24938ea5b34ce3c2e28ce53d52;hb=128253cc176c24aa8934a1a2b1c644da56df2764;hp=b2b34148c27d2e1164abe7e1ac69d0b141c7e995;hpb=606c448ef167017c3171b49f9eb2af82c15079ce;p=nihav.git diff --git a/nihav-core/src/detect.rs b/nihav-core/src/detect.rs index b2b3414..b2d4295 100644 --- a/nihav-core/src/detect.rs +++ b/nihav-core/src/detect.rs @@ -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)> {