1
mirror of https://github.com/mpv-player/mpv synced 2024-10-18 10:25:02 +02:00

fix compilation without iconv

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9873 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
henry 2003-04-07 19:37:19 +00:00
parent 58955e8053
commit fef3203aa0

View File

@ -1648,7 +1648,11 @@ char** sub_filenames(char* path, char *fname)
// 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;