projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add MCMP demuxer
[nihav.git]
/
nihav-registry
/
src
/
detect.rs
diff --git
a/nihav-registry/src/detect.rs
b/nihav-registry/src/detect.rs
index 0fb33a2af913dd2f1d1a1edd5728e624f6b0f61b..d32fac3e5081fd2851d080051fdef81d5530947b 100644
(file)
--- a/
nihav-registry/src/detect.rs
+++ b/
nihav-registry/src/detect.rs
@@
-280,6
+280,13
@@
const DETECTORS: &[DetectConditions] = &[
conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"ANIM")},
CheckItem{offs: 8, cond: &CC::Str(b"AHDR")}],
},
conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"ANIM")},
CheckItem{offs: 8, cond: &CC::Str(b"AHDR")}],
},
+ DetectConditions {
+ demux_name: "smush-mcmp",
+ extensions: ".imc",
+ conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"MCMP")},
+ CheckItem{offs: 6, cond: &CC::Eq(Arg::Byte(0))},
+ CheckItem{offs: 7, cond: &CC::Eq(Arg::Byte(0))}],
+ },
DetectConditions {
demux_name: "smush",
extensions: ".snm",
DetectConditions {
demux_name: "smush",
extensions: ".snm",