[Mplayer-cvslog] CVS: main subreader.c,1.111,1.112
Adam Tla/lka CVS
atlka at mplayerhq.hu
Tue Jul 1 11:29:40 CEST 2003
Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv2381
Modified Files:
subreader.c
Log Message:
always treat .utf* files as UTF-8
Index: subreader.c
===================================================================
RCS file: /cvsroot/mplayer/main/subreader.c,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -r1.111 -r1.112
--- subreader.c 1 Jul 2003 08:49:14 -0000 1.111
+++ subreader.c 1 Jul 2003 09:29:31 -0000 1.112
@@ -1180,12 +1180,10 @@
int l,k;
k = -1;
if ((l=strlen(filename))>4){
- int k;
char *exts[] = {".utf", ".utf8", ".utf-8" };
for (k=3;--k>=0;)
if (!strcasecmp(filename+(l - strlen(exts[k])), exts[k])){
sub_utf8 = 1;
- fprintf(stderr,"UTF-8 detected\n");
break;
}
}
More information about the MPlayer-cvslog
mailing list