indeo: fix or silence clippy warnings
[nihav.git] / nihav-indeo / src / codecs / imc.rs
index c766861bad6d36ad560bcc0223c3306f01489763..6840739628c081d97d4fd5a70441c532c91bee03 100644 (file)
@@ -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;