diff subreader.c @ 4519:c8bf6fd27d68

too many arguments to sscan in subdetect.
author eyck
date Sun, 03 Feb 2002 19:17:22 +0000
parents b09348223925
children e6cd9c81db9d
line wrap: on
line diff
--- a/subreader.c	Sun Feb 03 19:13:00 2002 +0000
+++ b/subreader.c	Sun Feb 03 19:17:22 2002 +0000
@@ -479,7 +479,7 @@
 
 	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;}