diff options
author | Grigori Goronzy <greg@chown.ath.cx> | 2015-09-23 10:34:55 +0200 |
---|---|---|
committer | Grigori Goronzy <greg@chown.ath.cx> | 2015-09-23 10:34:55 +0200 |
commit | 3d09c609a4cf987eb5adfa73c6e20151c1345a10 (patch) | |
tree | 715888f4f92028f400771b842b14349911b6b4fc /libass/ass_utils.h | |
parent | 0b0ce2cd0bd6448372b8ef7b9b6b18437d264546 (diff) | |
download | libass-3d09c609a4cf987eb5adfa73c6e20151c1345a10.tar.bz2 libass-3d09c609a4cf987eb5adfa73c6e20151c1345a10.tar.xz |
Remove ENCA support
There is no real value in it. ENCA only works in some cases and I
can't find any information about software that integrates libass
which relies on it or users that rely on ENCA support in case the
interface is exposed directly (e.g. in MPlayer).
If there is still a wish to have charset detection integrated into
libass (it is out of scope, IMHO), a better library like uchardet
should be used for that.
Diffstat (limited to 'libass/ass_utils.h')
-rw-r--r-- | libass/ass_utils.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libass/ass_utils.h b/libass/ass_utils.h index 867b3e3..c2f5a19 100644 --- a/libass/ass_utils.h +++ b/libass/ass_utils.h @@ -28,10 +28,6 @@ #include <errno.h> #include <math.h> -#ifdef CONFIG_ENCA -#include <enca.h> -#endif - #include "ass.h" #ifndef SIZE_MAX @@ -98,11 +94,6 @@ void ass_utf16be_to_utf8(char *dst, size_t dst_size, uint8_t *src, size_t src_si void ass_msg(ASS_Library *priv, int lvl, const char *fmt, ...); int lookup_style(ASS_Track *track, char *name); ASS_Style *lookup_style_strict(ASS_Track *track, char *name, size_t len); -#ifdef CONFIG_ENCA -void *ass_guess_buffer_cp(ASS_Library *library, unsigned char *buffer, - int buflen, char *preferred_language, - char *fallback); -#endif /* defined in ass_strtod.c */ double ass_strtod(const char *string, char **endPtr); |