summaryrefslogtreecommitdiffstats
path: root/sub/osd_libass.c
diff options
context:
space:
mode:
Diffstat (limited to 'sub/osd_libass.c')
-rw-r--r--sub/osd_libass.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sub/osd_libass.c b/sub/osd_libass.c
index 573a373a06..68da28b9cd 100644
--- a/sub/osd_libass.c
+++ b/sub/osd_libass.c
@@ -442,9 +442,7 @@ static void update_sub(struct osd_state *osd, struct osd_object *obj)
if (obj->type == OSDTYPE_SUB2)
style->Alignment = 6;
-#if LIBASS_VERSION >= 0x01010000
ass_set_line_position(obj->osd_render, 100 - opts->sub_pos);
-#endif
add_osd_ass_event_escaped(obj->osd_track, obj->text);
}