From 2268d4d6c4c3391e4916e1af43f8c04c91549a2f Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Wed, 9 Jun 2010 14:43:58 +0200 Subject: [PATCH] VPX_ prefix --- src/oxframe.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/oxframe.c b/src/oxframe.c index 33956a5..4a984cf 100644 --- a/src/oxframe.c +++ b/src/oxframe.c @@ -413,24 +413,24 @@ int extract_frame_webm(oxstate *state) { from.ptru = malloc(from.uv_width * from.uv_height); from.ptrv = malloc(from.uv_width * from.uv_height); - q =img->planes[PLANE_Y]; + q =img->planes[VPX_PLANE_Y]; p = from.ptry; for(y=0; yd_h; y++) { memcpy(p, q, img->d_w); p += img->d_w; - q += img->stride[PLANE_Y]; + q += img->stride[VPX_PLANE_Y]; } - q =img->planes[PLANE_U]; + q =img->planes[VPX_PLANE_U]; p = from.ptru; - q2 =img->planes[PLANE_V]; + q2 =img->planes[VPX_PLANE_V]; p2 = from.ptrv; for(y=0; y<(1 + img->d_h) / 2; y++) { memcpy(p, q, (1 + img->d_w) / 2); memcpy(p2, q2, (1 + img->d_w) / 2); p += (1 + img->d_w) / 2; - q += img->stride[PLANE_U]; + q += img->stride[VPX_PLANE_U]; p2 += (1 + img->d_w) / 2; - q2 += img->stride[PLANE_V]; + q2 += img->stride[VPX_PLANE_V]; } to.ptro = malloc(from.y_width * from.y_height * 4);