Mercurial > mplayer.hg
changeset 11496:e1976281b127
10l
author | luran |
---|---|
date | Wed, 19 Nov 2003 01:41:27 +0000 |
parents | 36fbfcf9b742 |
children | 038b7a21fdc4 |
files | subreader.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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;}