diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-09-02 17:26:33 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2003-09-02 17:26:33 +0000 |
commit | 63ee7c8f409f445a7d6bc27364466f6b67fa18ad (patch) | |
tree | e392dc0a03f04f63ceb502508ca35600033dd4ed /subreader.c | |
parent | 676d6647560fb768c9b2fcc5793d4a40268a04f7 (diff) | |
download | mpv-63ee7c8f409f445a7d6bc27364466f6b67fa18ad.tar.bz2 mpv-63ee7c8f409f445a7d6bc27364466f6b67fa18ad.tar.xz |
Jacosub files can have the extension '.js' too. Patch by Vladimir Mosgalin <mosgalin@VM10124.spb.edu>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10802 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'subreader.c')
-rw-r--r-- | subreader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subreader.c b/subreader.c index 93629a3f57..6aacae1c64 100644 --- a/subreader.c +++ b/subreader.c @@ -1632,7 +1632,7 @@ char** sub_filenames(char* path, char *fname) char *tmp_fname_noext, *tmp_fname_trim, *tmp_fname_ext, *tmpresult; int len, pos, found, i, j; - char * sub_exts[] = { "utf", "utf8", "utf-8", "sub", "srt", "smi", "rt", "txt", "ssa", "aqt", "jss", "ass", NULL}; + char * sub_exts[] = { "utf", "utf8", "utf-8", "sub", "srt", "smi", "rt", "txt", "ssa", "aqt", "jss", "js", "ass", NULL}; subfn *result; char **result2; |