projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add Highlander FMV support
[nihav.git]
/
nihav-registry
/
src
/
detect.rs
diff --git
a/nihav-registry/src/detect.rs
b/nihav-registry/src/detect.rs
index 3e1d26cfb842b6698bc7fb8905c9f347c7f6244c..e73ae4b2924cf1db80877a64529594e70caaa416 100644
(file)
--- a/
nihav-registry/src/detect.rs
+++ b/
nihav-registry/src/detect.rs
@@
-274,6
+274,12
@@
const DETECTORS: &[DetectConditions] = &[
conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"IMAX") },
CheckItem{offs: 10, cond: &CC::Eq(Arg::U16LE(0x102)) }],
},
conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"IMAX") },
CheckItem{offs: 10, cond: &CC::Eq(Arg::U16LE(0x102)) }],
},
+ DetectConditions {
+ demux_name: "hl-fmv",
+ extensions: ".fmv",
+ conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"FMV*") },
+ CheckItem{offs: 4, cond: &CC::Eq(Arg::U32LE(0)) }],
+ },
DetectConditions {
demux_name: "legend-q",
extensions: ".q",
DetectConditions {
demux_name: "legend-q",
extensions: ".q",