From 2ba300123f7e6e5b9bbc69976ca4017993af694b Mon Sep 17 00:00:00 2001 From: Grigori Goronzy Date: Sun, 11 Mar 2012 06:04:59 +0100 Subject: Support \rSTYLENAME syntax This allows to reset to a certain style, instead of the default style for the current line. For some reason, this was completely missing. --- libass/ass_utils.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libass/ass_utils.h') diff --git a/libass/ass_utils.h b/libass/ass_utils.h index 327bb79c..a1abde96 100644 --- a/libass/ass_utils.h +++ b/libass/ass_utils.h @@ -51,6 +51,7 @@ int strtocolor(ASS_Library *library, char **q, uint32_t *res, int hex); char parse_bool(char *str); unsigned ass_utf8_get_char(char **str); void ass_msg(ASS_Library *priv, int lvl, char *fmt, ...); +int lookup_style(ASS_Track *track, char *name); #ifdef CONFIG_ENCA void *ass_guess_buffer_cp(ASS_Library *library, unsigned char *buffer, int buflen, char *preferred_language, -- cgit v1.2.3