]> git.nihav.org Git - nihav.git/commitdiff
avi: fix 15-bit raw video format
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 9 May 2026 17:56:39 +0000 (19:56 +0200)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 9 May 2026 17:56:39 +0000 (19:56 +0200)
After recent revamp of format name parsing it should've been changed.

nihav-commonfmt/src/demuxers/avi.rs

index 35e02467877295dfa4fbb18469b5cc674c78c6be..1885d03f661cbb23cf70ed50a56bdb42611520a8 100644 (file)
@@ -882,7 +882,7 @@ fn find_raw_rgb_fmt(hdr: &MSBitmapInfo, vhdr: &mut NAVideoInfo) -> bool {
             }
             let fmt_name = match hdr.bitcount {
                      8 => "pal8",
-                    16 => "bgr555",
+                    16 => "rgb555",
                     24 => "bgr24",
                     32 => "bgra24",
                     _ => return false,