[MPlayer-dev-eng] [PATCH] Solves bugzilla No 65 [TRIVIAL]

Reynaldo H. Verdejo Pinochet reynaldo at opendot.cl
Thu Sep 2 04:57:24 CEST 2004


Fixes subtitle autodetection regardles of case
, see bugzilla No 65

Regards

  Reynaldo

-------------- next part --------------
--- subreader.c	2004-09-01 22:42:00.000000000 -0400
+++ ../my_main/subreader.c	2004-09-01 22:47:37.000000000 -0400
@@ -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;
 		    }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040901/9d6afe45/attachment.pgp>


More information about the MPlayer-dev-eng mailing list