mirror of https://github.com/mpv-player/mpv
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:
parent
e27c39844f
commit
574eb892ea
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue