summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreyck <eyck@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-03 19:17:22 +0000
committereyck <eyck@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-03 19:17:22 +0000
commit094cd24bf4cb1e5c3073119d4ed958577797a567 (patch)
treef0a7eb984c75ed200aef9d2d77e0c5ab484a3275
parente4be4973e2914e42727e5c9b8d0a66ee6de01448 (diff)
downloadmpv-094cd24bf4cb1e5c3073119d4ed958577797a567.tar.bz2
mpv-094cd24bf4cb1e5c3073119d4ed958577797a567.tar.xz
too many arguments to sscan in subdetect.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4520 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--subreader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/subreader.c b/subreader.c
index 7a71a68131..fd9cafc794 100644
--- a/subreader.c
+++ b/subreader.c
@@ -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;}