X-Git-Url: https://git.nihav.org/?p=nihav.git;a=blobdiff_plain;f=nihav-registry%2Fsrc%2Fdetect.rs;h=2621000eb889edbd45e536f7b5613175bf313269;hp=7d0633a7630d4f2ee4db12ef34cd955539b3dc10;hb=283abfa6154b38880dc6378d9a618aec4fc2eefe;hpb=943d7b1498096582b13e6c2957dab2b9e82d7eac diff --git a/nihav-registry/src/detect.rs b/nihav-registry/src/detect.rs index 7d0633a..2621000 100644 --- a/nihav-registry/src/detect.rs +++ b/nihav-registry/src/detect.rs @@ -198,6 +198,13 @@ const DETECTORS: &[DetectConditions] = &[ &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",