From 21e827ed85aec5e1b34c15e09a5a52a77e51c261 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sat, 22 Aug 2020 12:37:52 +0200 Subject: [PATCH] vx: fix typo in pred_hor_down() --- nihav-game/src/codecs/vx.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nihav-game/src/codecs/vx.rs b/nihav-game/src/codecs/vx.rs index 7f59c98..37bd047 100644 --- a/nihav-game/src/codecs/vx.rs +++ b/nihav-game/src/codecs/vx.rs @@ -304,7 +304,7 @@ fn pred_hor_down(blk: &mut [u8], pos: usize) { let pix = avg(l0, l1); blk[pos + 0 + 1 * 256] = pix; blk[pos + 2 + 2 * 256] = pix; - let pix = interp2(tl, t0, l1); + let pix = interp2(tl, l0, l1); blk[pos + 1 + 1 * 256] = pix; blk[pos + 3 + 2 * 256] = pix; let pix = avg(tl, l0); -- 2.39.5