Ignore '*' at the beginning of style name.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19573 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
eugeni 2006-08-28 16:59:29 +00:00
parent 85063db776
commit 0decebcb05
1 changed files with 1 additions and 0 deletions

View File

@ -162,6 +162,7 @@ static void rskip_spaces(char** str, char* limit) {
*/
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)