FS-7513: fix copy and paste error

This commit is contained in:
Seven Du 2015-01-31 12:29:32 +08:00 committed by Michael Jerris
parent 4b1979a119
commit 74f4b1800b
1 changed files with 1 additions and 1 deletions

View File

@ -864,7 +864,7 @@ static void reset_image(switch_image_t *img, bgcolor_yuv_t *color)
for (i = 0; i < img->h / 2; i++) {
memset(img->planes[SWITCH_PLANE_U] + img->stride[SWITCH_PLANE_U] * i, color->u, img->d_w / 2);
memset(img->planes[SWITCH_PLANE_V] + img->stride[SWITCH_PLANE_U] * i, color->v, img->d_w / 2);
memset(img->planes[SWITCH_PLANE_V] + img->stride[SWITCH_PLANE_V] * i, color->v, img->d_w / 2);
}
}