X-Git-Url: https://git.nihav.org/?a=blobdiff_plain;f=nihav-indeo%2Fsrc%2Fcodecs%2Findeo3enc%2Fmod.rs;h=762f8a2764bf1c71a572788f3dbd577fa706754b;hb=b8ea95bcd62ebd2a6b58a889c0a2e0e35fa212d3;hp=eefa3d7b94bcb95fb6aae470bb3eb79e6886b651;hpb=2757a0289c980aeba002609c777815b51ace8e56;p=nihav.git diff --git a/nihav-indeo/src/codecs/indeo3enc/mod.rs b/nihav-indeo/src/codecs/indeo3enc/mod.rs index eefa3d7..762f8a2 100644 --- a/nihav-indeo/src/codecs/indeo3enc/mod.rs +++ b/nihav-indeo/src/codecs/indeo3enc/mod.rs @@ -148,7 +148,7 @@ impl Indeo3Encoder { } let mut iw = Indeo3Writer::new(dbuf); - self.cframe.plane[planeno].encode_tree(&mut iw, &tree, &mut self.cenc, ref_plane); + self.cframe.plane[planeno].encode_tree(&mut iw, tree, &mut self.cenc, ref_plane); drop(iw); while (dbuf.len() & 3) != 0 { dbuf.push(0);