Fix the vpxenc mismatch problem due to seperate

the boarder size for encoder and decoder.

Change-Id: I7291a9e06035d1533202d7a75ab40abfc1131342
This commit is contained in:
hkuang 2014-01-22 14:58:59 -08:00
parent a1d8918fd1
commit 3671e629ad

View File

@ -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],