diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-02-26 20:59:16 +0100 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-04-20 04:22:52 +0300 |
commit | 7221e28fe3d743aaf6357bb0838e762781644f0d (patch) | |
tree | bce8922ea210b28bba43d5f5123f7f511c689fed /sub/find_subfiles.h | |
parent | 9bcfbe4d4ff8c40fff45798ae7f907118218c17b (diff) | |
download | mpv-7221e28fe3d743aaf6357bb0838e762781644f0d.tar.bz2 mpv-7221e28fe3d743aaf6357bb0838e762781644f0d.tar.xz |
subs: move text sub loading logic down to find_subfiles.c
Move path handling for loading external subtitle files from mplayer.c
to find_subfiles.c. Now the remaining code in mplayer.c only gets a
list of potential filenames and tries opening those.
Diffstat (limited to 'sub/find_subfiles.h')
-rw-r--r-- | sub/find_subfiles.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/find_subfiles.h b/sub/find_subfiles.h index 06105747dc..c9b0c9137e 100644 --- a/sub/find_subfiles.h +++ b/sub/find_subfiles.h @@ -21,6 +21,6 @@ #define MAX_SUBTITLE_FILES 128 -char **sub_filenames(const char *path, char *fname); +char **find_text_subtitles(const char *fname); #endif /* MPLAYER_FINDFILES_H */ |