fix clippy warnings for update to rustc 1.46
[nihav.git] / nihav-indeo / src / codecs / indeo3.rs
index cc3bed877c9cf6dd6863960bb0f3fdad7e0edb53..4048385a50df2e45febce3ee0ac08f58757e11f6 100644 (file)
@@ -325,7 +325,7 @@ impl Indeo3Decoder {
         Ok((self.bbuf >> self.bpos) & 0x3)
     }
 
-    #[allow(clippy::cyclomatic_complexity)]
+    #[allow(clippy::cognitive_complexity)]
     fn decode_cell_data(&mut self, br: &mut ByteReader, cell: IV3Cell,
                         off: usize, stride: usize, params: CellDecParams, vq_idx: u8) -> DecoderResult<()> {
         let blk_w = cell.w * 4 / params.bw;