summaryrefslogtreecommitdiffstats
path: root/sub/osd_libass.c
diff options
context:
space:
mode:
authorBen Boeckel <mathstuf@gmail.com>2015-02-23 22:24:38 -0500
committerwm4 <wm4@nowhere>2015-02-24 10:45:10 +0100
commita0894974ffb12322ed472c6a3241433f0bdd60d7 (patch)
treed706df05568bdfe77a85a8621cc2fca0922e3ff8 /sub/osd_libass.c
parent7281a72fabc610c70b4803ffb739c4155862c2d0 (diff)
downloadmpv-a0894974ffb12322ed472c6a3241433f0bdd60d7.tar.bz2
mpv-a0894974ffb12322ed472c6a3241433f0bdd60d7.tar.xz
libass: remove redundant checks for LIBASS_VERSION
Since 0.12.1 is the minimum, just assume it in the code too.
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);
}