Commit 4db9487a authored by Benjamin Otte's avatar Benjamin Otte
Browse files

tests/check/libs/video.c: Update strides for Y41B

parent 92465ba8
......@@ -237,9 +237,9 @@ paint_setup_Y41B (paintinfo * p, unsigned char *dest)
p->yp = dest;
p->ystride = GST_ROUND_UP_4 (p->width);
p->up = p->yp + p->ystride * p->height;
p->ustride = GST_ROUND_UP_8 (p->width) / 4;
p->ustride = GST_ROUND_UP_16 (p->width) / 4;
p->vp = p->up + p->ustride * p->height;
p->vstride = GST_ROUND_UP_8 (p->width) / 4;
p->vstride = GST_ROUND_UP_16 (p->width) / 4;
p->endptr = p->vp + p->vstride * p->height;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment