aboutsummaryrefslogtreecommitdiffstats
path: root/nihav-core/src/detect.rs
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2019-04-02 11:59:58 +0200
committerKostya Shishkov <kostya.shishkov@gmail.com>2019-04-02 11:59:58 +0200
commitecda1cc1266117b3bb8669b06185d2e15a265ebe (patch)
treee7af09d092984149f4d7d694b826233f231fb5f4 /nihav-core/src/detect.rs
parent9e9e49d110c5fb5ec71be9b25a4a00d88af70c84 (diff)
downloadnihav-ecda1cc1266117b3bb8669b06185d2e15a265ebe.tar.gz
game: add Discworld Noir BMV demuxer and audio decoder
Diffstat (limited to 'nihav-core/src/detect.rs')
-rw-r--r--nihav-core/src/detect.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/nihav-core/src/detect.rs b/nihav-core/src/detect.rs
index 17b1411..caf5900 100644
--- a/nihav-core/src/detect.rs
+++ b/nihav-core/src/detect.rs
@@ -212,6 +212,12 @@ const DETECTORS: &[DetectConditions] = &[
conditions: &[],
},
DetectConditions {
+ demux_name: "bmv3",
+ extensions: ".bmv",
+ conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"BMVi") },
+ CheckItem{offs: 32, cond: &CC::Str(b"DATA")}],
+ },
+ DetectConditions {
demux_name: "vmd",
extensions: ".vmd",
conditions: &[],