Commit aaad6d1b authored by John Koleszar's avatar John Koleszar Committed by Code Review

Merge "Fix harmless off-by-1 error."

parents 6f4d4ab5 7a8e0a29
......@@ -24,7 +24,7 @@ extern void vp8_init_scan_order_mask();
void vp8_update_mode_info_border(MODE_INFO *mi, int rows, int cols)
{
int i;
vpx_memset(mi - cols - 1, 0, sizeof(MODE_INFO) * cols + 1);
vpx_memset(mi - cols - 2, 0, sizeof(MODE_INFO) * (cols + 1));
for (i = 0; i < rows; i++)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment