mirror of
https://github.com/mpv-player/mpv
synced 2025-01-14 19:11:53 +00:00
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:
parent
85063db776
commit
0decebcb05
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user