From dd276fa5ef132e08672ba2438d325634cfb063fe Mon Sep 17 00:00:00 2001 From: eugeni Date: Thu, 18 Jan 2007 14:50:32 +0000 Subject: In .srt, any line containing only spaces and tabs marks the end of the current subtitle. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21957 b3059339-0415-0410-9bf9-f77b7e298cf2 --- subreader.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'subreader.c') diff --git a/subreader.c b/subreader.c index 511356a3a1..91d3707bc3 100644 --- a/subreader.c +++ b/subreader.c @@ -355,10 +355,13 @@ static subtitle *sub_read_line_subviewer(stream_t *st,subtitle *current) { current->start = a1*360000+a2*6000+a3*100+a4/10; current->end = b1*360000+b2*6000+b3*100+b4/10; for (i=0; itext[i]=malloc (len+1); if (!current->text[i]) return ERR; -- cgit v1.2.3