From 20bc2d0929a1d53224def41298acb1d9a12c717f Mon Sep 17 00:00:00 2001 From: Massimo Valentini Date: Sun, 10 Aug 2014 19:29:56 +0200 Subject: [PATCH] Bug 81699 - Segfault sweep_line_delete on video playback (2) do not generate empty boxes that confuse the boxes tessellator --- src/cairo-traps-compositor.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/cairo-traps-compositor.c b/src/cairo-traps-compositor.c index 8d67965..c483349 100644 --- a/src/cairo-traps-compositor.c +++ b/src/cairo-traps-compositor.c @@ -1402,7 +1402,9 @@ boxes_for_traps (cairo_boxes_t *boxes, if (_cairo_fixed_integer_round_down (t->left.p1.x) != _cairo_fixed_integer_round_down (t->left.p2.x) || _cairo_fixed_integer_round_down (t->right.p1.x) != - _cairo_fixed_integer_round_down (t->right.p2.x)) + _cairo_fixed_integer_round_down (t->right.p2.x) || + _cairo_fixed_integer_round_down (t->top) == + _cairo_fixed_integer_round_down (t->bottom)) { return CAIRO_INT_STATUS_UNSUPPORTED; } -- 1.9.3