summaryrefslogtreecommitdiffstats
path: root/libass/ass_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'libass/ass_parse.c')
-rw-r--r--libass/ass_parse.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/libass/ass_parse.c b/libass/ass_parse.c
index a7437c6..b7ff24b 100644
--- a/libass/ass_parse.c
+++ b/libass/ass_parse.c
@@ -77,16 +77,6 @@ static inline int mystrcmp(char **p, const char *sample)
return 0;
}
-double ensure_font_size(ASS_Renderer *priv, double size)
-{
- if (size < 1)
- size = 1;
- else if (size > priv->height * 2)
- size = priv->height * 2;
-
- return size;
-}
-
/**
* \brief Change current font, using setting from render_priv->state.
*/