From 8fafebd4e1a8a89e1ba20b4199830ca7ea44d117 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Thu, 19 Feb 2026 18:15:15 +0100 Subject: [PATCH] nihav_registry/detect: slightly improve old QT MOV 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 b06528c..5d1bd47 100644 --- a/nihav-registry/src/detect.rs +++ b/nihav-registry/src/detect.rs @@ -262,7 +262,8 @@ const DETECTORS: &[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"MooVPrMr")}, + CheckItem{offs: 0x41, cond: &CC::Str(b"MooV")}, + CheckItem{offs: 0x45, cond: &CC::Or(&CC::Str(b"PrMr"), &CC::Str(b"TVOD"))}, CheckItem{offs: 0x7A, cond: &CC::Eq(Arg::Byte(0x81))}, CheckItem{offs: 0x7B, cond: &CC::Eq(Arg::Byte(0x81))}], }, -- 2.39.5