too many arguments to sscan in subdetect.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4520 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
eyck 2002-02-03 19:17:22 +00:00
parent e4be4973e2
commit 094cd24bf4
1 changed files with 1 additions and 1 deletions

View File

@ -479,7 +479,7 @@ int sub_autodetect (FILE *fd) {
if (sscanf (line, "{%d}{%d}", &i, &i)==2)
{sub_uses_time=0;return SUB_MICRODVD;}
if (sscanf (line, "{%d}{}", &i, &i)==1)
if (sscanf (line, "{%d}{}", &i)==1)
{sub_uses_time=0;return SUB_MICRODVD;}
if (sscanf (line, "%d:%d:%d.%d,%d:%d:%d.%d", &i, &i, &i, &i, &i, &i, &i, &i)==8)
{sub_uses_time=1;return SUB_SUBRIP;}