summaryrefslogtreecommitdiffstats
path: root/libass/ass_utils.h
diff options
context:
space:
mode:
authorOleg Oshmyan <chortos@inbox.lv>2015-10-23 02:20:19 +0300
committerOleg Oshmyan <chortos@inbox.lv>2015-10-23 02:47:03 +0300
commitb4ab3d89805f4dfd5df9a9711fb41f09000a55e6 (patch)
treef591c0c7a9cecd7b548d8b98bdbf029e76342a10 /libass/ass_utils.h
parentf16cf28b7a8275594ec8397aaa9d5ab8d178c629 (diff)
downloadlibass-b4ab3d89805f4dfd5df9a9711fb41f09000a55e6.tar.bz2
libass-b4ab3d89805f4dfd5df9a9711fb41f09000a55e6.tar.xz
fontselect: don't trim font names
This matches the behavior of GDI and hence VSFilter. Note that \fn arguments are trimmed during parsing. However, none of the names inside fonts should be trimmed, and @-prefixed fonts should keep whitespace following the @, both of which this commit addresses. Remove strdup_trimmed because it is no longer used. Also remove the declaration of a function that was deleted a few months ago.
Diffstat (limited to 'libass/ass_utils.h')
-rw-r--r--libass/ass_utils.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/libass/ass_utils.h b/libass/ass_utils.h
index c2f5a19e..5c3f65fe 100644
--- a/libass/ass_utils.h
+++ b/libass/ass_utils.h
@@ -84,8 +84,6 @@ int mystrtoi32(char **p, int base, int32_t *res);
int32_t parse_alpha_tag(char *str);
uint32_t parse_color_tag(char *str);
uint32_t parse_color_header(char *str);
-char *trim_space(char *str);
-char *strdup_trimmed(const char *str);
char parse_bool(char *str);
int parse_ycbcr_matrix(char *str);
unsigned ass_utf8_get_char(char **str);