From c5a9f1ab5b445bd0bb3d3a514281c46c58b4af1f Mon Sep 17 00:00:00 2001 From: Grigori Goronzy Date: Mon, 27 Jun 2011 21:07:50 +0200 Subject: [PATCH] Fix stride support in vector clips --- libass/ass_render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libass/ass_render.c b/libass/ass_render.c index 39c41d2..07cbe58 100644 --- a/libass/ass_render.c +++ b/libass/ass_render.c @@ -611,7 +611,7 @@ blend_vector_error: by = clip_bm->top; bw = clip_bm->w; bh = clip_bm->h; - bs = clip_bm->w; // XXX: add real stride support + bs = clip_bm->stride; // Calculate overlap coordinates left = (ax > bx) ? ax : bx; -- 2.40.0