From 128253cc176c24aa8934a1a2b1c644da56df2764 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Wed, 23 Jan 2019 14:04:20 +0100 Subject: [PATCH 1/1] BMV detection entry --- nihav-core/src/detect.rs | 5 +++++ 1 file changed, 5 insertions(+) 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)> { -- 2.39.5