[Mplayer-cvslog] CVS: main subreader.c,1.100,1.101

Jindrich Makovicka CVS henry at mplayerhq.hu
Mon Apr 7 21:37:43 CEST 2003


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

Modified Files:
	subreader.c 
Log Message:
fix compilation without iconv

Index: subreader.c
===================================================================
RCS file: /cvsroot/mplayer/main/subreader.c,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -r1.100 -r1.101
--- subreader.c	7 Apr 2003 16:03:37 -0000	1.100
+++ subreader.c	7 Apr 2003 19:37:19 -0000	1.101
@@ -1648,7 +1648,11 @@
 
 		// does it end with a subtitle extension?
 		found = 0;
+#ifdef USE_ICONV
 		for (i = (sub_cp ? 1 : 0); sub_exts[i]; i++) {
+#else
+		for (i = 0; sub_exts[i]; i++) {
+#endif
 		    if (strcmp(sub_exts[i], tmp_fname_ext) == 0) {
 			found = 1;
 			break;



More information about the MPlayer-cvslog mailing list