FS-7513: fix copy and paste error

This commit is contained in:
Seven Du authored and Michael Jerris committed 2015-05-28 12:46:57 -05:00
1 parent 4b1979a119
commit 74f4b1800b
1 file changed
+1 -1
@@ -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);
}
}