Mercurial > mplayer.hg
diff subreader.c @ 11496:e1976281b127
10l
| author | luran |
|---|---|
| date | Wed, 19 Nov 2003 01:41:27 +0000 |
| parents | 42cb00f7209f |
| children | b4f1df0c1e3a |
line wrap: on
line diff
--- a/subreader.c Tue Nov 18 20:50:48 2003 +0000 +++ b/subreader.c Wed Nov 19 01:41:27 2003 +0000 @@ -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;}
