changeset 896:d46de26aef48

there is another format that get detected as vplayers. Instead of tightening detection support that another format.
author eyck
date Mon, 28 May 2001 09:54:21 +0000
parents b6536a556a45
children 936cf314097f
files subreader.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/subreader.c	Sun May 27 23:29:03 2001 +0000
+++ b/subreader.c	Mon May 28 09:54:21 2001 +0000
@@ -238,6 +238,7 @@
 
 		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!='|') {