aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-09-23 18:35:19 +0000
committerGravatar eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-09-23 18:35:19 +0000
commitf21b92e1a53cd826298b9b24e8c32f75c3db01c1 (patch)
treeab96b1a7fdd4ab1a3120999803c0305cc0734b6b
parent50d2386180bfeee7cb898e1b2bc3b4fd18c89bad (diff)
Reduce size of non-blurred bitmaps.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19962 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libass/ass_bitmap.c2
1 files changed, 1 insertions, 1 deletions
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);