From a8cdeaa8f76b5b6d8c2493f674137b721afc199a Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Fri, 28 Aug 2026 16:49:44 +0200 Subject: [PATCH] avi: support greyscale raw video --- nihav-commonfmt/src/demuxers/avi.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/nihav-commonfmt/src/demuxers/avi.rs b/nihav-commonfmt/src/demuxers/avi.rs index 1885d03..a7c6313 100644 --- a/nihav-commonfmt/src/demuxers/avi.rs +++ b/nihav-commonfmt/src/demuxers/avi.rs @@ -905,6 +905,7 @@ fn find_raw_yuv_fmt(compr: &[u8; 4], vhdr: &mut NAVideoInfo) -> bool { b"I420" | b"IYUV" => ("yuv420p", false), b"YV12" => ("yuv420p", true), b"YVU9" => ("yuv410p", true), + b"Y800" | b"Y8 " => ("grey", false), _ => return false, }; if let Ok(fmt) = NAPixelFormaton::from_str(fmt_name) { -- 2.39.5