diff options
author | luran <luran@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-11-19 01:41:27 +0000 |
---|---|---|
committer | luran <luran@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-11-19 01:41:27 +0000 |
commit | b9a57044fbe6eaab9e4de5ce223f549fecd6f65c (patch) | |
tree | d640f4d9a58ed37ef5894922126d513ec1e40c90 | |
parent | 2029eb17eb30df8de185731605f5eb318f30deee (diff) |
10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11497 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | subreader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subreader.c b/subreader.c index 4d75ff1d49..f11fce6fbe 100644 --- a/subreader.c +++ b/subreader.c @@ -911,7 +911,7 @@ int sub_autodetect (FILE *fd, int *uses_time) { {*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;} |