[Mplayer-cvslog] CVS: main subreader.c,1.136,1.137

Sascha Sommer CVS syncmail at mplayerhq.hu
Thu Sep 2 14:18:38 CEST 2004


CVS change done by Sascha Sommer CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv23734

Modified Files:
	subreader.c 
Log Message:
subtitle autodetection regardles of case (bug #65), patches Michal Svec <rebel at atrey.karlin.mff.cuni.cz> and Reynaldo H. Verdejo Pinochet <reynaldo at opendot.cl>

Index: subreader.c
===================================================================
RCS file: /cvsroot/mplayer/main/subreader.c,v
retrieving revision 1.136
retrieving revision 1.137
diff -u -r1.136 -r1.137
--- subreader.c	28 Jul 2004 12:40:34 -0000	1.136
+++ subreader.c	2 Sep 2004 12:18:36 -0000	1.137
@@ -1860,7 +1860,7 @@
 #else
 		for (i = 0; sub_exts[i]; i++) {
 #endif
-		    if (strcmp(sub_exts[i], tmp_fname_ext) == 0) {
+		    if (strcasecmp(sub_exts[i], tmp_fname_ext) == 0) {
 			found = 1;
 			break;
 		    }




More information about the MPlayer-cvslog mailing list