mirror of https://github.com/mpv-player/mpv
Fix bug in LR's patch.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5840 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d678725306
commit
951c9b7806
4
vobsub.c
4
vobsub.c
|
@ -639,9 +639,9 @@ static int
|
|||
vobsub_parse_custom(vobsub_t *vob, const char *line)
|
||||
{
|
||||
//custom colors: OFF/ON(0/1)
|
||||
if ((strncmp("ON", line + 15, 2) == 0)||strncmp("1", line + 15, 1))
|
||||
if ((strncmp("ON", line + 15, 2) == 0)||strncmp("1", line + 15, 1) == 0)
|
||||
vob->custom=1;
|
||||
else if ((strncmp("OFF", line + 15, 3) == 0)||strncmp("0", line + 15, 1))
|
||||
else if ((strncmp("OFF", line + 15, 3) == 0)||strncmp("0", line + 15, 1) == 0)
|
||||
vob->custom=0;
|
||||
else
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue