diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2020-12-23 11:45:16 +0100 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2020-12-23 11:45:16 +0100 |
commit | 952dad98a4a5ae723e3c2432b62567d88b4c3c0d (patch) | |
tree | d54d7fcdca1dcbbbaf42e0ca21e7c58048461753 | |
parent | c151de2653d4d12d9310c00dbe04553e20f4807c (diff) | |
download | nihav-952dad98a4a5ae723e3c2432b62567d88b4c3c0d.tar.gz |
core/soundcvt: fix u8->i16 test
-rw-r--r-- | nihav-core/src/soundcvt/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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"); } |