From: Kostya Shishkov Date: Wed, 23 Dec 2020 10:45:16 +0000 (+0100) Subject: core/soundcvt: fix u8->i16 test X-Git-Url: https://git.nihav.org/?a=commitdiff_plain;h=952dad98a4a5ae723e3c2432b62567d88b4c3c0d;p=nihav.git core/soundcvt: fix u8->i16 test --- diff --git a/nihav-core/src/soundcvt/mod.rs b/nihav-core/src/soundcvt/mod.rs index 17d7709..891a58a 100644 --- a/nihav-core/src/soundcvt/mod.rs +++ b/nihav-core/src/soundcvt/mod.rs @@ -635,7 +635,7 @@ mod test { let l = data[off0]; let r = data[off1]; assert_eq!(l, 7445); - assert_eq!(r, -19943); + assert_eq!(r, -19505); } else { panic!("wrong buffer type"); }