[Mplayer-cvslog] CVS: main subreader.c,1.14,1.15
Megyer Laszlo
laaz at users.sourceforge.net
Thu May 31 04:07:36 CEST 2001
Update of /cvsroot/mplayer/main
In directory usw-pr-cvs1:/tmp/cvs-serv5702
Modified Files:
subreader.c
Log Message:
corrected strcmp() bug, now it works again with every subs (it was broken)
Index: subreader.c
===================================================================
RCS file: /cvsroot/mplayer/main/subreader.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -r1.14 -r1.15
*** subreader.c 2001/05/28 09:54:21 1.14
--- subreader.c 2001/05/31 02:07:34 1.15
***************
*** 319,324 ****
{sub_uses_time=1;return 4;}
//TODO: just checking if first line of sub starts with "<" is WAY
! // to weak test for RT
! if (strcmp("<",line))
{sub_uses_time=1;return 5;}
}
--- 319,326 ----
{sub_uses_time=1;return 4;}
//TODO: just checking if first line of sub starts with "<" is WAY
! // too weak test for RT
! // Please someone who knows the format of RT... FIX IT!!!
! // It may conflict with other sub formats in the future
! if ( *line == '<' )
{sub_uses_time=1;return 5;}
}
_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog
More information about the MPlayer-cvslog
mailing list