From abfa6cfdb045d16383b72c78b2ee60929c575a87 Mon Sep 17 00:00:00 2001 From: "Dr.Smile" Date: Sat, 8 Apr 2017 20:55:41 +0300 Subject: renderer: fix handling of empty outlines --- libass/ass_bitmap.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libass/ass_bitmap.h') diff --git a/libass/ass_bitmap.h b/libass/ass_bitmap.h index 04cb51b..8dc1b19 100644 --- a/libass/ass_bitmap.h +++ b/libass/ass_bitmap.h @@ -117,9 +117,9 @@ void ass_synth_blur(const BitmapEngine *engine, int opaque_box, int be, * \param bm_g out: pointer to the bitmap of original glyph is returned here * \param bm_o out: pointer to the bitmap of border glyph is returned here */ -int outline_to_bitmap2(ASS_Renderer *render_priv, ASS_Outline *outline, - ASS_Outline *border1, ASS_Outline *border2, - Bitmap **bm_g, Bitmap **bm_o); +bool outline_to_bitmap2(ASS_Renderer *render_priv, ASS_Outline *outline, + ASS_Outline *border1, ASS_Outline *border2, + Bitmap **bm_g, Bitmap **bm_o); int be_padding(int be); void be_blur_pre(uint8_t *buf, intptr_t w, -- cgit v1.2.3