From 1b6fc1f933c881c8be4bf8441491a38b537b5a93 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Fri, 25 Sep 2026 12:34:13 +0200 Subject: [PATCH] nihav_registry/detect: add yet another detection case for MOV files --- nihav-registry/src/detect.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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", -- 2.39.5