projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add WAV demuxer
[nihav.git]
/
nihav-registry
/
src
/
detect.rs
diff --git
a/nihav-registry/src/detect.rs
b/nihav-registry/src/detect.rs
index 7d0633a7630d4f2ee4db12ef34cd955539b3dc10..2621000eb889edbd45e536f7b5613175bf313269 100644
(file)
--- a/
nihav-registry/src/detect.rs
+++ b/
nihav-registry/src/detect.rs
@@
-198,6
+198,13
@@
const DETECTORS: &[DetectConditions] = &[
&CC::Str(b"ON2fLIST")) },
]
},
&CC::Str(b"ON2fLIST")) },
]
},
+ DetectConditions {
+ demux_name: "wav",
+ extensions: ".wav",
+ conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"RIFF") },
+ CheckItem{offs: 8, cond: &CC::Str(b"WAVEfmt ") }
+ ]
+ },
DetectConditions {
demux_name: "mov",
extensions: ".mov",
DetectConditions {
demux_name: "mov",
extensions: ".mov",