From 952dad98a4a5ae723e3c2432b62567d88b4c3c0d Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Wed, 23 Dec 2020 11:45:16 +0100 Subject: [PATCH] core/soundcvt: fix u8->i16 test --- nihav-core/src/soundcvt/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } -- 2.39.5