[MPlayer-cvslog] r19573 - trunk/libass/ass.c

eugeni subversion at mplayerhq.hu
Mon Aug 28 18:59:29 CEST 2006


Author: eugeni
Date: Mon Aug 28 18:59:29 2006
New Revision: 19573

Modified:
   trunk/libass/ass.c

Log:
Ignore '*' at the beginning of style name.


Modified: trunk/libass/ass.c
==============================================================================
--- trunk/libass/ass.c	(original)
+++ trunk/libass/ass.c	Mon Aug 28 18:59:29 2006
@@ -162,6 +162,7 @@
  */
 static int lookup_style(ass_track_t* track, char* name) {
 	int i;
+	if (*name == '*') ++name; // FIXME: what does '*' really mean ?
 	for (i=0; i<track->n_styles; ++i) {
 		// FIXME: mb strcasecmp ?
 		if (strcmp(track->styles[i].Name, name) == 0)



More information about the MPlayer-cvslog mailing list