[MPlayer-cvslog] r23048 - trunk/libass/ass_render.c

eugeni subversion at mplayerhq.hu
Sat Apr 21 01:23:32 CEST 2007


Author: eugeni
Date: Sat Apr 21 01:23:32 2007
New Revision: 23048

Modified:
   trunk/libass/ass_render.c

Log:
Cosmetics.


Modified: trunk/libass/ass_render.c
==============================================================================
--- trunk/libass/ass_render.c	(original)
+++ trunk/libass/ass_render.c	Sat Apr 21 01:23:32 2007
@@ -407,11 +407,10 @@ static ass_image_t* render_text(text_inf
 				FT_Done_Glyph(text_info->glyphs[i].outline_glyph);
 
 			// cache
-				hash_val.bm_o = text_info->glyphs[i].bm_o;
-				hash_val.bm = text_info->glyphs[i].bm;
-				hash_val.bm_s = text_info->glyphs[i].bm_s;
-				cache_add_bitmap(&(text_info->glyphs[i].hash_key), &hash_val);
-
+			hash_val.bm_o = text_info->glyphs[i].bm_o;
+			hash_val.bm = text_info->glyphs[i].bm;
+			hash_val.bm_s = text_info->glyphs[i].bm_s;
+			cache_add_bitmap(&(text_info->glyphs[i].hash_key), &hash_val);
 		}
 	}
 
@@ -1276,7 +1275,7 @@ static void get_outline_glyph(int symbol
 static void get_bitmap_glyph(glyph_info_t* info)
 {
 	bitmap_hash_val_t* val;
-	bitmap_hash_key_t* key = &(info->hash_key);
+	bitmap_hash_key_t* key = &info->hash_key;
 	
 	val = cache_find_bitmap(key);
 /* 	val = 0; */



More information about the MPlayer-cvslog mailing list