From 2018c8a231585a7cb8d3043a12ff8f2605d2c966 Mon Sep 17 00:00:00 2001 From: eyck Date: Mon, 28 May 2001 09:54:21 +0000 Subject: there is another format that get detected as vplayers. Instead of tightening detection support that another format. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@897 b3059339-0415-0410-9bf9-f77b7e298cf2 --- subreader.c | 1 + 1 file changed, 1 insertion(+) (limited to 'subreader.c') diff --git a/subreader.c b/subreader.c index e06e880a75..aa8760a009 100644 --- a/subreader.c +++ b/subreader.c @@ -238,6 +238,7 @@ subtitle *sub_read_line_vplayer(FILE *fd,subtitle *current) { current->start = a1*360000+a2*6000+a3*100; current->end = b1*360000+b2*6000+b3*100; + if ((current->end - current->start) > 1000) {current->end = current->start + 1000;} // not too long though. // teraz czas na wkopiowanie stringu p=line; p+=plen;i=0; if (*p!='|') { -- cgit v1.2.3