commonfmt: fix or silence clippy warnings
[nihav.git] / nihav-commonfmt / src / codecs / clearvideo.rs
index 3d0f7bc09f2543292c0e2057a4f31ad5533f50af..60218562acd62c40bbed3983d87fbfc066a9d34e 100644 (file)
@@ -623,6 +623,7 @@ impl ClearVideoDecoder {
 }
 
 impl NADecoder for ClearVideoDecoder {
+    #[allow(clippy::or_fun_call)]
     fn init(&mut self, _supp: &mut NADecoderSupport, info: NACodecInfoRef) -> DecoderResult<()> {
         if let NACodecTypeInfo::Video(vinfo) = info.get_properties() {
             let w = vinfo.get_width();