[Mplayer-cvslog] CVS: main subreader.c,1.125,1.126
hephooey CVS
luran at mplayerhq.hu
Wed Nov 19 02:42:13 CET 2003
Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv23357
Modified Files:
subreader.c
Log Message:
10l
Index: subreader.c
===================================================================
RCS file: /cvsroot/mplayer/main/subreader.c,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -r1.125 -r1.126
--- subreader.c 9 Oct 2003 18:47:16 -0000 1.125
+++ subreader.c 19 Nov 2003 01:41:27 -0000 1.126
@@ -911,7 +911,7 @@
{*uses_time=1;return SUB_SUBRIP;}
if (sscanf (line, "%d:%d:%d%[,.:]%d --> %d:%d:%d%[,.:]%d", &i, &i, &i, (char *)&i, &i, &i, &i, &i, (char *)&i, &i)==10)
{*uses_time=1;return SUB_SUBVIEWER;}
- if (sscanf (line, "{T %d:%d:%d:%d",&i, &i, &i, &i))
+ if (sscanf (line, "{T %d:%d:%d:%d",&i, &i, &i, &i)==4)
{*uses_time=1;return SUB_SUBVIEWER2;}
if (strstr (line, "<SAMI>"))
{*uses_time=1; return SUB_SAMI;}
More information about the MPlayer-cvslog
mailing list