diff options
author | Oleg Oshmyan <chortos@inbox.lv> | 2014-05-17 22:47:45 +0100 |
---|---|---|
committer | Oleg Oshmyan <chortos@inbox.lv> | 2014-06-06 15:08:16 +0100 |
commit | cc9aaeb4596af2c57d09ae8853670b5c811d19cd (patch) | |
tree | 2aebc55cae7b3dfa93b19048850d0ea50c64485c /libass/ass_utils.h | |
parent | 722fc526e33df96994bd38f4ae7853d20d2e2544 (diff) | |
download | libass-cc9aaeb4596af2c57d09ae8853670b5c811d19cd.tar.bz2 libass-cc9aaeb4596af2c57d09ae8853670b5c811d19cd.tar.xz |
Parse override tag arguments exactly like VSFilter 2.38
Also replace strtocolor in ass_utils with string2color
from ass.c, because that is more useful everywhere now.
Diffstat (limited to 'libass/ass_utils.h')
-rw-r--r-- | libass/ass_utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libass/ass_utils.h b/libass/ass_utils.h index 7b16ca6c..40d8953a 100644 --- a/libass/ass_utils.h +++ b/libass/ass_utils.h @@ -58,7 +58,7 @@ int mystrtoi(char **p, int *res); int mystrtoll(char **p, long long *res); int mystrtou32(char **p, int base, uint32_t *res); int mystrtod(char **p, double *res); -int strtocolor(ASS_Library *library, char **q, uint32_t *res, int hex); +uint32_t string2color(ASS_Library *library, char *p, int hex); char parse_bool(char *str); int parse_ycbcr_matrix(char *str); unsigned ass_utf8_get_char(char **str); |