From f21b92e1a53cd826298b9b24e8c32f75c3db01c1 Mon Sep 17 00:00:00 2001 From: eugeni Date: Sat, 23 Sep 2006 18:35:19 +0000 Subject: [PATCH] Reduce size of non-blurred bitmaps. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19962 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libass/ass_bitmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libass/ass_bitmap.c b/libass/ass_bitmap.c index 544f99d775..d8e4f368b4 100644 --- a/libass/ass_bitmap.c +++ b/libass/ass_bitmap.c @@ -183,7 +183,7 @@ static void fix_outline(bitmap_t* bm_g, bitmap_t* bm_o) int glyph_to_bitmap(ass_synth_priv_t* priv, FT_Glyph glyph, FT_Glyph outline_glyph, bitmap_t** bm_g, bitmap_t** bm_o, int be) { - const int bord = ceil(blur_radius); + const int bord = be ? ceil(blur_radius) : 0; assert(bm_g && bm_o);