From: Kostya Shishkov Date: Fri, 25 Sep 2026 10:34:13 +0000 (+0200) Subject: nihav_registry/detect: add yet another detection case for MOV files X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=1b6fc1f933c881c8be4bf8441491a38b537b5a93;p=nihav.git nihav_registry/detect: add yet another detection case for MOV files --- diff --git a/nihav-registry/src/detect.rs b/nihav-registry/src/detect.rs index aafd8d2..0c5d542 100644 --- a/nihav-registry/src/detect.rs +++ b/nihav-registry/src/detect.rs @@ -241,7 +241,8 @@ const DETECTORS: &[DetectConditions] = &[ extensions: ".mov", conditions: &[CheckItem{offs: 4, cond: &CC::Or(&CC::Or(&CC::Str(b"mdat"), &CC::Str(b"moov")), - &CC::Str(b"ftyp")) }], + &CC::Or(&CC::Str(b"ftyp"), + &CC::Str(b"free"))) }], }, DetectConditions { demux_name: "gif",