From 3671e629ad58990547c026b89971df21ee32fd49 Mon Sep 17 00:00:00 2001 From: hkuang Date: Wed, 22 Jan 2014 14:58:59 -0800 Subject: [PATCH] Fix the vpxenc mismatch problem due to seperate the boarder size for encoder and decoder. Change-Id: I7291a9e06035d1533202d7a75ab40abfc1131342 --- vpxenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vpxenc.c b/vpxenc.c index 396e43dc9..f19300acf 100644 --- a/vpxenc.c +++ b/vpxenc.c @@ -833,8 +833,8 @@ static int compare_img(vpx_image_t *img1, vpx_image_t *img2) unsigned int i; match &= (img1->fmt == img2->fmt); - match &= (img1->w == img2->w); - match &= (img1->h == img2->h); + match &= (img1->d_w == img2->d_w); + match &= (img1->d_h == img2->d_h); for (i = 0; i < img1->d_h; i++) match &= (memcmp(img1->planes[VPX_PLANE_Y]+i*img1->stride[VPX_PLANE_Y], -- 2.40.0