libass: remove redundant checks for LIBASS_VERSION

Since 0.12.1 is the minimum, just assume it in the code too.
This commit is contained in:
Ben Boeckel
2015-02-23 22:24:38 -05:00
committed by wm4
parent 7281a72fab
commit a0894974ff
3 changed files with 0 additions and 25 deletions

View File

@@ -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);
}