[MPlayer-cvslog] r23054 - trunk/libass/ass_render.c
eugeni
subversion at mplayerhq.hu
Sat Apr 21 13:02:49 CEST 2007
Author: eugeni
Date: Sat Apr 21 13:02:49 2007
New Revision: 23054
Modified:
trunk/libass/ass_render.c
Log:
Deallocate glyphs in a separate loop.
Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c (original)
+++ trunk/libass/ass_render.c Sat Apr 21 13:02:49 2007
@@ -409,6 +409,9 @@ static ass_image_t* render_text(text_inf
hash_val.bm_s = text_info->glyphs[i].bm_s;
cache_add_bitmap(&(text_info->glyphs[i].hash_key), &hash_val);
}
+ }
+
+ for (i = 0; i < text_info->length; ++i) {
if (text_info->glyphs[i].glyph)
FT_Done_Glyph(text_info->glyphs[i].glyph);
if (text_info->glyphs[i].outline_glyph)
More information about the MPlayer-cvslog
mailing list