fix or silence clippy warnings
[nihav.git] / nihav-itu / src / codecs / h264 / cabac.rs
index 554da2a808681d25d8f41cd317acab5e80fd6f5a..4be9a0dcbc263e97c34fcf5205602838adf03387 100644 (file)
@@ -258,6 +258,7 @@ fn decode_mv(cabac: &mut CABAC, ctx0: usize, ctx1: usize) -> MV {
     MV{ x, y }
 }
 
+#[allow(clippy::cyclomatic_complexity)]
 pub fn decode_mb_pred_cabac(cabac: &mut CABAC, slice_hdr: &SliceHeader, mb_type: MBType, sstate: &mut SliceState, mb_info: &mut CurrentMBInfo) {
     mb_info.mb_type = mb_type;
     let num_l0 = slice_hdr.num_ref_idx_l0_active;