]> granicus.if.org Git - libass/commitdiff
Fix stride support in vector clips
authorGrigori Goronzy <greg@blackbox>
Mon, 27 Jun 2011 19:07:50 +0000 (21:07 +0200)
committerGrigori Goronzy <greg@blackbox>
Mon, 27 Jun 2011 19:07:50 +0000 (21:07 +0200)
libass/ass_render.c

index 39c41d2140a5721e59df53e2e1346e641f988f6a..07cbe58c6170b1ca8930fffa3e24fe0aea80ca1a 100644 (file)
@@ -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;