projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix clippy errors
[nihav.git]
/
nihav-duck
/
src
/
codecs
/
truemotion2.rs
diff --git
a/nihav-duck/src/codecs/truemotion2.rs
b/nihav-duck/src/codecs/truemotion2.rs
index 1abe444b1522472531b4bb181a2c09e3cdb4ac51..2e0ff5e745eaa9ba65cab21f4ba393343281b685 100644
(file)
--- a/
nihav-duck/src/codecs/truemotion2.rs
+++ b/
nihav-duck/src/codecs/truemotion2.rs
@@
-223,6
+223,7
@@
struct DeltaState {
dc: [[i32; 2]; 2],
}
+#[allow(clippy::erasing_op)]
impl DeltaState {
fn apply_y(&mut self, dst: &mut [u8], mut yoff: usize, ystride: usize, ydeltas: &[i32; 16], last: &mut [i32]) {
for y in 0..4 {