# HG changeset patch # User eyck # Date 1012478629 0 # Node ID b0934822392580e7d8c71991e085da808dc70e34 # Parent cf62fa2528215865552d364fbd7194ec7286f9db detect microdvd with empty second frame. diff -r cf62fa252821 -r b09348223925 subreader.c --- a/subreader.c Thu Jan 31 11:56:11 2002 +0000 +++ b/subreader.c Thu Jan 31 12:03:49 2002 +0000 @@ -479,6 +479,8 @@ if (sscanf (line, "{%d}{%d}", &i, &i)==2) {sub_uses_time=0;return SUB_MICRODVD;} + if (sscanf (line, "{%d}{}", &i, &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;} if (sscanf (line, "%d:%d:%d,%d --> %d:%d:%d,%d", &i, &i, &i, &i, &i, &i, &i, &i)==8)