From 28116b8a799078b3c6b3b559ed4463669c79cf0e Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 29 Apr 2013 01:49:20 +0200 Subject: sub: remove some global variables --- sub/subreader.h | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'sub/subreader.h') diff --git a/sub/subreader.h b/sub/subreader.h index ab4763cefe..c62dd5ddd2 100644 --- a/sub/subreader.h +++ b/sub/subreader.h @@ -24,10 +24,6 @@ #include "config.h" -extern int suboverlap_enabled; -extern int sub_no_text_pp; // disable text post-processing -extern int sub_match_fuzziness; - // subtitle formats #define SUB_INVALID -1 #define SUB_MICRODVD 0 @@ -45,9 +41,6 @@ extern int sub_match_fuzziness; #define SUB_JACOSUB 12 #define SUB_MPL2 13 -// One of the SUB_* constant above -extern int sub_format; - #define SUB_MAX_TEXT 12 #define SUB_ALIGNMENT_BOTTOMLEFT 1 #define SUB_ALIGNMENT_BOTTOMCENTER 2 @@ -81,15 +74,5 @@ typedef struct sub_data { struct MPOpts; sub_data* sub_read_file (char *filename, float pts, struct MPOpts *opts); -subtitle* subcp_recode (subtitle *sub); -// enca_fd is the file enca uses to determine the codepage. -// setting to NULL disables enca. -struct stream; -void subcp_open (struct stream *st); /* for demux_ogg.c */ -void subcp_close (void); /* for demux_ogg.c */ -#ifdef CONFIG_ENCA -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 #endif /* MPLAYER_SUBREADER_H */ -- cgit v1.2.3