mirror of
https://github.com/mpv-player/mpv
synced 2025-03-11 08:37:59 +00: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:
parent
58955e8053
commit
fef3203aa0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user