From: Kostya Shishkov Date: Sat, 25 Apr 2026 10:38:10 +0000 (+0200) Subject: nihav_codec_support/msstructs: do not check Cinepak header that strictly X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=33e656460494e66ec34b07b7a1196e1949399c7a;p=nihav.git nihav_codec_support/msstructs: do not check Cinepak header that strictly --- 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");