summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/image.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/image.c b/tests/image.c
index 4155d826..8d1ecc05 100644
--- a/tests/image.c
+++ b/tests/image.c
@@ -188,8 +188,8 @@ static void draw_rect_YV12( // Y, V, U planes
width /= 2;
height /= 2;
- pU = pixels[1] + y * stride[1] + x;
- pV = pixels[2] + y * stride[2] + x;
+ pV = pixels[1] + y * stride[1] + x;
+ pU = pixels[2] + y * stride[2] + x;
for (j = 0; j < height; j++, pU += stride[1], pV += stride[2])
for (i = 0; i < width; i++) {
pU[i] = Cb;