1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 10:02:17 +00:00

Fixup to vplayer subtitle submitted to sourceforge by Igor Wojnicki

wojnicki at users.sf.net, at 2001-05-23 (sic!)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1641 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
eyck 2001-08-22 21:38:35 +00:00
parent 0a1256777b
commit 294ba5ca7c

View File

@ -240,7 +240,13 @@ subtitle *sub_read_line_vplayer(FILE *fd,subtitle *current) {
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;
p=line;
// finds the body of the subtitle
for (i=0; i<3; i++){
p=strchr(p,':')+1;
}
i=0;
if (*p!='|') {
//
next = p,i=0;