[MPlayer-cvslog] r19962 - trunk/libass/ass_bitmap.c

eugeni subversion at mplayerhq.hu
Sat Sep 23 20:35:19 CEST 2006


Author: eugeni
Date: Sat Sep 23 20:35:19 2006
New Revision: 19962

Modified:
   trunk/libass/ass_bitmap.c

Log:
Reduce size of non-blurred bitmaps.


Modified: trunk/libass/ass_bitmap.c
==============================================================================
--- trunk/libass/ass_bitmap.c	(original)
+++ trunk/libass/ass_bitmap.c	Sat Sep 23 20:35:19 2006
@@ -183,7 +183,7 @@
 
 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);
 



More information about the MPlayer-cvslog mailing list