summaryrefslogtreecommitdiffstats
path: root/subreader.c
diff options
context:
space:
mode:
authoreyck <eyck@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-05-28 09:54:21 +0000
committereyck <eyck@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-05-28 09:54:21 +0000
commit2018c8a231585a7cb8d3043a12ff8f2605d2c966 (patch)
treec0570ba85923586fb0a414402a72c63ab7f21c1c /subreader.c
parentba952039710daca949501a164788aa6b0c314aaa (diff)
downloadmpv-2018c8a231585a7cb8d3043a12ff8f2605d2c966.tar.bz2
mpv-2018c8a231585a7cb8d3043a12ff8f2605d2c966.tar.xz
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
Diffstat (limited to 'subreader.c')
-rw-r--r--subreader.c1
1 files changed, 1 insertions, 0 deletions
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!='|') {