summaryrefslogtreecommitdiffstats
path: root/subreader.c
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-09-02 17:26:33 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-09-02 17:26:33 +0000
commit63ee7c8f409f445a7d6bc27364466f6b67fa18ad (patch)
treee392dc0a03f04f63ceb502508ca35600033dd4ed /subreader.c
parent676d6647560fb768c9b2fcc5793d4a40268a04f7 (diff)
downloadmpv-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.c2
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;