shithub: libvpx

Download patch

ref: d73a5a437c23b760e5febcafdf33bcab5b35ed41
parent: 39ea3d72f5751ff09f7ac0e7b9dfe61b247ddeae
parent: 8f95c826537e911c6ff859deb82fa5d0c945049f
author: Jerome Jiang <[email protected]>
date: Wed Apr 3 17:27:48 EDT 2019

Merge "use 64bit integer for memory offset."

--- a/vp9/common/vp9_reconinter.c
+++ b/vp9/common/vp9_reconinter.c
@@ -136,7 +136,7 @@
     const struct scale_factors *const sf = &xd->block_refs[ref]->sf;
     struct buf_2d *const pre_buf = &pd->pre[ref];
     struct buf_2d *const dst_buf = &pd->dst;
-    uint8_t *const dst = dst_buf->buf + dst_buf->stride * y + x;
+    uint8_t *const dst = dst_buf->buf + (int64_t)dst_buf->stride * y + x;
     const MV mv = mi->sb_type < BLOCK_8X8
                       ? average_split_mvs(pd, mi, ref, block)
                       : mi->mv[ref].as_mv;