From 33e656460494e66ec34b07b7a1196e1949399c7a Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sat, 25 Apr 2026 12:38:10 +0200 Subject: [PATCH] nihav_codec_support/msstructs: do not check Cinepak header that strictly --- nihav-codec-support/src/codecs/msstructs.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nihav-codec-support/src/codecs/msstructs.rs b/nihav-codec-support/src/codecs/msstructs.rs index 1dc1558..d5bec5a 100644 --- a/nihav-codec-support/src/codecs/msstructs.rs +++ b/nihav-codec-support/src/codecs/msstructs.rs @@ -38,7 +38,7 @@ impl MSBitmapInfo { /// Checks header for validity and returns the failed field name in case of error. pub fn validate(&self) -> Result<(), &'static str> { const KNOWN_BAD_FORMATS: &[&[u8; 4]] = &[ - b"ZMBV", b"zmbv", + b"ZMBV", b"zmbv", b"CVID", b"cvid" ]; if !(40..=(1 << 24)).contains(&self.bi_size) { return Err("bi_size"); -- 2.39.5