diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2019-05-23 12:21:43 +0200 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2019-05-23 12:21:43 +0200 |
commit | 96f8649df505c8921393f24b30e5627dfe2ec1c5 (patch) | |
tree | cd7f1638d749ade33de20a4026f143a05570b65f /nihav-duck/src | |
parent | 347108c9b66fab3995a165c5f71f62612ee56548 (diff) | |
download | nihav-96f8649df505c8921393f24b30e5627dfe2ec1c5.tar.gz |
vp3: fix fourmv restoration loop bug
Diffstat (limited to 'nihav-duck/src')
-rw-r--r-- | nihav-duck/src/codecs/vp3.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |