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>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13230 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
faust3 2004-09-02 12:18:36 +00:00
parent e27c39844f
commit 574eb892ea
1 changed files with 1 additions and 1 deletions

View File

@ -1860,7 +1860,7 @@ char** sub_filenames(char* path, char *fname)
#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;
}