From 61c60884d15130e06102381a1b2ef0544d826b22 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sat, 21 Nov 2026 10:35:44 +0100 Subject: [PATCH] nihav_registry: slightly improve Duck AVI detection --- 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 1fb4677..02f978c 100644 --- a/nihav-registry/src/detect.rs +++ b/nihav-registry/src/detect.rs @@ -210,7 +210,8 @@ const DETECTORS: &[DetectConditions] = &[ CheckItem{offs: 8, cond: &CC::Or(&CC::Or(&CC::Str(b"AVI LIST"), &CC::Str(b"AVIXLIST")), &CC::Str(b"ON2fLIST")) }, - CheckItem{offs: 20, cond: &CC::Str(b"hdrlavih")}, + CheckItem{offs: 20, cond: &CC::Or(&CC::Str(b"hdrlavih"), + &CC::Str(b"hdrlON2h"))}, ] }, DetectConditions { -- 2.47.3