summaryrefslogtreecommitdiffstats
path: root/test/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test.c')
-rw-r--r--test/test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/test.c b/test/test.c
index f533e7a..8522840 100644
--- a/test/test.c
+++ b/test/test.c
@@ -107,7 +107,8 @@ static void init(int frame_w, int frame_h)
}
ass_set_frame_size(ass_renderer, frame_w, frame_h);
- ass_set_fonts(ass_renderer, NULL, "Sans", 1, NULL, 1);
+ ass_set_fonts(ass_renderer, NULL, "Sans",
+ ASS_FONTPROVIDER_AUTODETECT, NULL, 1);
}
static image_t *gen_image(int width, int height)