[MPlayer-dev-eng] Something should be change in vobsub.c

陆 然 hephooey at hotmail.com
Fri Apr 26 17:01:21 CEST 2002


Hi,
i just find i made a stupid mistake in my patch for vobsub subtitles, in 
the funciont vobsub_parse_custom
if ((strncmp("ON", line + 15, 2) == 0)||strncmp("1", line + 15, 1))
should be changed to
if ((strncmp("ON", line + 15, 2) == 0)||strncmp("1", line + 15, 1) == 0)
and
else if ((strncmp("OFF", line + 15, 3) == 0)||strncmp("0", line + 15, 1))
should be changed to
else if ((strncmp("OFF", line + 15, 3) == 0)||strncmp("0", line + 15, 1) == 
0)
or it will use custom color always, even if palette was found and custom 
color set to OFF,
sorry for the mistake. hope can be currect soon


-----------------
Best Regards,
LR

_________________________________________________________________
免费下载 MSN Explorer:http://explorer.msn.com/lccn/intl.asp




More information about the MPlayer-dev-eng mailing list