X-Git-Url: https://git.nihav.org/?p=nihav.git;a=blobdiff_plain;f=nihav-registry%2Fsrc%2Fdetect.rs;h=11fd2ed00be1d6140cf42587071551d9840284be;hp=c51936d3a3c4b22526f4d0317c25802fe3c76834;hb=fd7e6906598e7fe87d928e5c7f4116a51a08a3ac;hpb=473c2f76c1164db245d9de89034650be998d4d7d diff --git a/nihav-registry/src/detect.rs b/nihav-registry/src/detect.rs index c51936d..11fd2ed 100644 --- a/nihav-registry/src/detect.rs +++ b/nihav-registry/src/detect.rs @@ -235,6 +235,12 @@ const DETECTORS: &[DetectConditions] = &[ extensions: ".y4m", conditions: &[CheckItem{offs: 0, cond: &CC::Str(b"YUV4MPEG2 ") }], }, + 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",