summaryrefslogtreecommitdiffstats
path: root/libass/ass_bitmap.h
diff options
context:
space:
mode:
authorDr.Smile <vabnick@gmail.com>2017-04-08 20:55:41 +0300
committerDr.Smile <vabnick@gmail.com>2017-07-31 06:27:24 +0300
commitabfa6cfdb045d16383b72c78b2ee60929c575a87 (patch)
treeb403ec197b68725ee0ae8bdc3007fed1e10133ac /libass/ass_bitmap.h
parent49eb2d2ecdc12d2dcd3af8ca00067cb4161679ff (diff)
downloadlibass-abfa6cfdb045d16383b72c78b2ee60929c575a87.tar.bz2
libass-abfa6cfdb045d16383b72c78b2ee60929c575a87.tar.xz
renderer: fix handling of empty outlines
Diffstat (limited to 'libass/ass_bitmap.h')
-rw-r--r--libass/ass_bitmap.h6
1 files changed, 3 insertions, 3 deletions
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,