git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11497 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
luran 2003-11-19 01:41:27 +00:00
parent 2029eb17eb
commit b9a57044fb
1 changed files with 1 additions and 1 deletions

View File

@ -911,7 +911,7 @@ int sub_autodetect (FILE *fd, int *uses_time) {
{*uses_time=1;return SUB_SUBRIP;} {*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) 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;} {*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;} {*uses_time=1;return SUB_SUBVIEWER2;}
if (strstr (line, "<SAMI>")) if (strstr (line, "<SAMI>"))
{*uses_time=1; return SUB_SAMI;} {*uses_time=1; return SUB_SAMI;}