diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-02-26 20:47:49 +0100 |
---|---|---|
committer | Uoti Urpala <uau@mplayer2.org> | 2011-04-20 04:22:52 +0300 |
commit | 9bcfbe4d4ff8c40fff45798ae7f907118218c17b (patch) | |
tree | 07a19edff1d9e82b45fedb31f10674d899848df7 /sub/subreader.h | |
parent | 4587f030ccded80f3ddb21dab2bca36af42fe497 (diff) | |
download | mpv-9bcfbe4d4ff8c40fff45798ae7f907118218c17b.tar.bz2 mpv-9bcfbe4d4ff8c40fff45798ae7f907118218c17b.tar.xz |
find_subfiles: move sub_filenames() here
Move sub_filenames() and related code from subreader.c to new file
find_subfiles.c. This function is used to find subtitle files that
should be loaded for the current video; this functionality is not
specific to the particular kind of text subtitle handling implemented
in subreader.c.
Also reindent and prettify the moved code a bit.
Diffstat (limited to 'sub/subreader.h')
-rw-r--r-- | sub/subreader.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sub/subreader.h b/sub/subreader.h index 9c7465d71a..079238a6c3 100644 --- a/sub/subreader.h +++ b/sub/subreader.h @@ -48,8 +48,6 @@ extern int sub_match_fuzziness; // One of the SUB_* constant above extern int sub_format; -#define MAX_SUBTITLE_FILES 128 - #define SUB_MAX_TEXT 12 #define SUB_ALIGNMENT_BOTTOMLEFT 1 #define SUB_ALIGNMENT_BOTTOMCENTER 2 @@ -97,7 +95,6 @@ void subcp_close (void); /* for demux_ogg.c */ const char* guess_buffer_cp(unsigned char* buffer, int buflen, const char *preferred_language, const char *fallback); const char* guess_cp(struct stream *st, const char *preferred_language, const char *fallback); #endif -char ** sub_filenames(const char *path, char *fname); void list_sub_file(sub_data* subd); void dump_srt(sub_data* subd, float fps); void dump_mpsub(sub_data* subd, float fps); |