projects
/
nihav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
indeo: fix or silence clippy warnings
[nihav.git]
/
nihav-indeo
/
src
/
codecs
/
imc.rs
diff --git
a/nihav-indeo/src/codecs/imc.rs
b/nihav-indeo/src/codecs/imc.rs
index c766861bad6d36ad560bcc0223c3306f01489763..6840739628c081d97d4fd5a70441c532c91bee03 100644
(file)
--- a/
nihav-indeo/src/codecs/imc.rs
+++ b/
nihav-indeo/src/codecs/imc.rs
@@
-103,6
+103,7
@@
impl BitAlloc {
self.skip_flag[i] = false;
}
}
+ #[allow(clippy::cyclomatic_complexity)]
fn calculate_bit_allocation(&mut self, ch_data: &mut IMCChannel, bits: usize, fixed_head: bool, adj_idx: usize) -> DecoderResult<()> {
let mut peak = 0.0;