projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix clippy warnings
[nihav.git]
/
nihav-indeo
/
src
/
codecs
/
indeo2.rs
diff --git
a/nihav-indeo/src/codecs/indeo2.rs
b/nihav-indeo/src/codecs/indeo2.rs
index 321338821fd662baea35ea3eb18d320c09ce5321..a07904effb60d80c943466fc67838d333e08380e 100644
(file)
--- a/
nihav-indeo/src/codecs/indeo2.rs
+++ b/
nihav-indeo/src/codecs/indeo2.rs
@@
-223,8
+223,8
@@
impl Indeo2Decoder {
}
x += run;
} else {
- framebuf[base + x + 0] = table[
(idx * 2 + 0) as usize
];
- framebuf[base + x + 1] = table[
(idx * 2 + 1) as usize
];
+ framebuf[base + x + 0] = table[
idx * 2
];
+ framebuf[base + x + 1] = table[
idx * 2 + 1
];
x += 2;
}
}