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, "")) {*uses_time=1; return SUB_SAMI;}