[Mplayer-cvslog] CVS: main vobsub.c,1.8,1.9

Atmosfear atmos4 at mplayerhq.hu
Fri Apr 26 17:48:20 CEST 2002


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv29716

Modified Files:
	vobsub.c 
Log Message:
Fix bug in LR's patch.


Index: vobsub.c
===================================================================
RCS file: /cvsroot/mplayer/main/vobsub.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- vobsub.c	25 Apr 2002 18:46:44 -0000	1.8
+++ vobsub.c	26 Apr 2002 15:48:18 -0000	1.9
@@ -639,9 +639,9 @@
 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;




More information about the MPlayer-cvslog mailing list