realmedia: fix clippy errors
[nihav.git] / nihav-realmedia / src / codecs / cook.rs
index e5dba918d8019d37b927a0ad99ebc9ff1483952e..c7018c33be09e278dec37dab58b81106f01ba82c 100644 (file)
@@ -1118,6 +1118,7 @@ const COOK_CPL_BAND: [u8; MAX_SUBBANDS - 1] = [
     19, 19, 19
 ];
 
+#[allow(clippy::approx_constant)]
 const COOK_DITHER_TAB: [f32; 9] = [ 0.0, 0.0, 0.0, 0.0, 0.0, 0.176777, 0.25, 0.707107, 1.0 ];
 
 const COOK_QUANT_CENTROID: [[f32; 14]; 7] = [