mirror of
https://github.com/mpv-player/mpv
synced 2024-12-23 23:32:26 +00:00
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:
parent
e4be4973e2
commit
094cd24bf4
@ -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;}
|
||||
|
Loading…
Reference in New Issue
Block a user