X-Git-Url: https://git.nihav.org/?a=blobdiff_plain;f=nihav-indeo%2Fsrc%2Fcodecs%2Fividsp.rs;h=b20e15501024b8bed696d64093b3ac8a0c1dc0fb;hb=71d7f39706f0f5004820f8d1d36c87d5f9ec3e97;hp=0c5274df57302c4e5c7540042998ddd66a7cebc7;hpb=f2af8ecaeed8ec8c1fa6b3c2cfdb075d64994b7a;p=nihav.git diff --git a/nihav-indeo/src/codecs/ividsp.rs b/nihav-indeo/src/codecs/ividsp.rs index 0c5274d..b20e155 100644 --- a/nihav-indeo/src/codecs/ividsp.rs +++ b/nihav-indeo/src/codecs/ividsp.rs @@ -381,9 +381,9 @@ pub fn ivi_mc_put(dst: &mut [i16], dstride: usize, src: &[i16], sstride: usize, let mut sptr0 = src.as_ptr(); let mut sptr1 = sptr0.add(sstride); let mut dptr = dst.as_mut_ptr(); - let mut la = *sptr0; - let mut lb = *sptr1; for _ in 0..h { + let mut la = *sptr0; + let mut lb = *sptr1; for x in 0..w { let a = *sptr0.add(x + 1); let b = *sptr1.add(x + 1);