projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Legend Entertainment Q format demuxer and decoder
[nihav.git]
/
nihav-registry
/
src
/
detect.rs
diff --git
a/nihav-registry/src/detect.rs
b/nihav-registry/src/detect.rs
index 2d2c3ac03d30e6adfd01861064adbacfa0e025af..b883f02112cf5c139041a0f76b2f2be81f0ea2a9 100644
(file)
--- a/
nihav-registry/src/detect.rs
+++ b/
nihav-registry/src/detect.rs
@@
-251,6
+251,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: "legend-q",
+ extensions: ".q",
+ conditions: &[CheckItem{offs: 0, cond: &CC::Eq(Arg::U16LE(0x6839))},
+ CheckItem{offs: 2, cond: &CC::In(Arg::Byte(3), Arg::Byte(5))}],
+ },
DetectConditions {
demux_name: "realaudio",
extensions: ".ra,.ram",
DetectConditions {
demux_name: "realaudio",
extensions: ".ra,.ram",