+ 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",
+ conditions: &[CheckItem{offs: 4, cond: &CC::Or(&CC::Or(&CC::Str(b"mdat"),
+ &CC::Str(b"moov")),
+ &CC::Str(b"ftyp")) }],
+ },
+ DetectConditions {
+ demux_name: "mov",
+ extensions: ".mov",
+ conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"\x00\x00\x00\x08wide") },
+ CheckItem{offs: 12, cond: &CC::Or(&CC::Or(&CC::Str(b"mdat"),
+ &CC::Str(b"moov")),
+ &CC::Str(b"ftyp")) }],
+ },
+ DetectConditions {
+ demux_name: "yuv4mpeg",
+ extensions: ".y4m",
+ conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"YUV4MPEG2 ") }],
+ },
+ DetectConditions {
+ demux_name: "flv",
+ extensions: ".flv",
+ conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"FLV") },
+ CheckItem{offs: 3, cond: &CC::Le(Arg::Byte(1)) }],
+ },
+ DetectConditions {
+ demux_name: "ivf",
+ extensions: ".ivf",
+ conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"DKIF\x00\x00")},
+ CheckItem{offs: 6, cond: &CC::Ge(Arg::U16LE(32))}],
+ },
+ DetectConditions {
+ demux_name: "fcmp",
+ extensions: ".cmp",
+ conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"FCMP")}],
+ },
+ DetectConditions {
+ demux_name: "fst",
+ extensions: ".fst",
+ conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"2TSF")}],
+ },