From: Kostya Shishkov Date: Thu, 19 Feb 2026 17:15:15 +0000 (+0100) Subject: nihav_registry/detect: slightly improve old QT MOV detection X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=8fafebd4e1a8a89e1ba20b4199830ca7ea44d117;p=nihav.git nihav_registry/detect: slightly improve old QT MOV detection --- 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))}], },