+ DetectConditions {
+ demux_name: "mov-macbin",
+ extensions: ".mov,.bin",
+ conditions: &[CheckItem{offs: 0, cond: &CC::Eq(Arg::Byte(0))},
+ CheckItem{offs: 0x41, cond: &CC::Str(b"MooV")},
+ CheckItem{offs: 0x7A, cond: &CC::Eq(Arg::Byte(0x81))},
+ CheckItem{offs: 0x7B, cond: &CC::Eq(Arg::Byte(0x81))},
+ CheckItem{offs: 0x84, cond: &CC::Str(b"mdat")}],
+ },
+ DetectConditions {
+ demux_name: "yuv4mpeg",
+ extensions: ".y4m",
+ conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"YUV4MPEG2 ") }],
+ },
+ DetectConditions {
+ demux_name: "armovie",
+ extensions: ".rpl",
+ conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"ARMovie\n") }],
+ },
+ 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(&[0x50, 0xEF, 0x81, 0x19, 0xB3, 0xBD, 0xD0, 0x11, 0xA3, 0xE5, 0x00, 0xA0, 0xC9, 0x24, 0x44])},
+ CheckItem{offs: 15, cond: &CC::Or(&CC::Eq(Arg::Byte(0x36)), &CC::Eq(Arg::Byte(0x37)))}],
+ },
+ DetectConditions {
+ demux_name: "dkivf",
+ 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: "arxel-cnm",
+ extensions: ".cnm",
+ conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"CNM UNR\x00")}],
+ },