From 96f8649df505c8921393f24b30e5627dfe2ec1c5 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Thu, 23 May 2019 12:21:43 +0200 Subject: [PATCH] vp3: fix fourmv restoration loop bug --- nihav-duck/src/codecs/vp3.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nihav-duck/src/codecs/vp3.rs b/nihav-duck/src/codecs/vp3.rs index 1d9d9e1..3ad742f 100644 --- a/nihav-duck/src/codecs/vp3.rs +++ b/nihav-duck/src/codecs/vp3.rs @@ -851,7 +851,7 @@ unimplemented!(); copy_block(frm, src.clone(), 1, bx * 4, by * 4, mx >> 1, my >> 1, 8, 8, 0, 1, mode, VP3_INTERP_FUNCS); copy_block(frm, src.clone(), 2, bx * 4, by * 4, mx >> 1, my >> 1, 8, 8, 0, 1, mode, VP3_INTERP_FUNCS); } - blk_idx += bstride; + blk_idx += bstride * 2; } let mut biter = self.blocks.iter_mut(); -- 2.39.5