fix clippy warnings for update to rustc 1.46
[nihav.git] / nihav-duck / src / codecs / vp6.rs
index 3dda67be9ea8f9b7171654d498c538ad510127cf..ca8946f5ad4d7032259c499c05dd875d3305b547 100644 (file)
@@ -361,7 +361,7 @@ impl VP56Parser for VP6BR {
                 (mv.x >> 3, mv.y >> 3, mv.x & 7, mv.y & 7, mv.x / 8, mv.y / 8)
             };
         let tmp_blk = mc_buf.get_data_mut().unwrap();
-        get_block(tmp_blk, 16, src.clone(), plane, x, y, sx, sy);
+        get_block(tmp_blk, 16, src, plane, x, y, sx, sy);
         if (msx & 7) != 0 {
             let foff = (8 - (sx & 7)) as usize;
             let off = 2 + foff;