[Mplayer-cvslog] CVS: main subreader.c,1.50,1.51

Dariush Pietrzak eyck at mplayer.dev.hu
Thu Jan 31 13:03:52 CET 2002


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv28191

Modified Files:
	subreader.c 
Log Message:
detect microdvd with empty second frame.


Index: subreader.c
===================================================================
RCS file: /cvsroot/mplayer/main/subreader.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- subreader.c	12 Jan 2002 00:02:52 -0000	1.50
+++ subreader.c	31 Jan 2002 12:03:49 -0000	1.51
@@ -479,6 +479,8 @@
 
 	if (sscanf (line, "{%d}{%d}", &i, &i)==2)
 		{sub_uses_time=0;return SUB_MICRODVD;}
+	if (sscanf (line, "{%d}{}", &i, &i)==1)
+		{sub_uses_time=0;return SUB_MICRODVD;}
 	if (sscanf (line, "%d:%d:%d.%d,%d:%d:%d.%d",     &i, &i, &i, &i, &i, &i, &i, &i)==8)
 		{sub_uses_time=1;return SUB_SUBRIP;}
 	if (sscanf (line, "%d:%d:%d,%d --> %d:%d:%d,%d", &i, &i, &i, &i, &i, &i, &i, &i)==8)




More information about the MPlayer-cvslog mailing list