]> git.nihav.org Git - nihav.git/commitdiff
nihav_acorn/rawaudio: "16-bit exponential" apparently means normal PCM
authorKostya Shishkov <kostya.shishkov@gmail.com>
Mon, 2 Feb 2026 17:48:45 +0000 (18:48 +0100)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Mon, 2 Feb 2026 17:48:45 +0000 (18:48 +0100)
nihav-acorn/src/codecs/rawaudio.rs

index 5952013bc2ad15d11f11daedf4ca33c00aa304be..09a92aab866f383944344f313b64d1c869d6be3b 100644 (file)
@@ -58,7 +58,7 @@ impl NADecoder for RawDecoder {
                         is_unsigned = true;
                     }
                 }
-                self.codec_type = if is_vidc {
+                self.codec_type = if is_vidc && bits != 16 {
                         CodecType::Logarithmic
                     } else if bits == 8 {
                         if is_unsigned {