fix or silence clippy warnings
[nihav.git] / nihav-itu / src / codecs / h264 / mod.rs
index 5ecd05cc6fd875baacc8ad4ef1e19981e3a0418a..976b8b575a47178af71eb5095132ef5fff33fa3c 100644 (file)
@@ -15,6 +15,10 @@ mod types;
 pub use types::*;
 mod pic_ref;
 pub use pic_ref::*;
+#[allow(clippy::identity_op)]
+#[allow(clippy::erasing_op)]
+#[allow(clippy::many_single_char_names)]
+#[allow(clippy::range_plus_one)]
 mod dsp;
 use dsp::*;
 mod cabac;
@@ -653,6 +657,7 @@ println!("PAFF?");
             }
         }
     }
+    #[allow(clippy::cyclomatic_complexity)]
     fn handle_macroblock(&mut self, mb_info: &mut CurrentMBInfo) {
         let pps = &self.pps[self.cur_pps];