Mercurial > mplayer.hg
changeset 9872:eea06a971711
fix compilation without iconv
author | henry |
---|---|
date | Mon, 07 Apr 2003 19:37:19 +0000 |
parents | 62389c1ecf22 |
children | 480bfff4804c |
files | subreader.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/subreader.c Mon Apr 07 18:31:17 2003 +0000 +++ b/subreader.c Mon Apr 07 19:37:19 2003 +0000 @@ -1648,7 +1648,11 @@ // 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;