sub: remove dead code

This commit is contained in:
llyyr 2024-09-03 21:14:16 +05:30 committed by Kacper Michajłow
parent c02aa154ab
commit a0ebfc3462
3 changed files with 0 additions and 6 deletions

View File

@ -152,7 +152,6 @@ struct osd_state *osd_create(struct mpv_global *global)
osd->objs[OSDTYPE_SUB]->is_sub = true;
osd->objs[OSDTYPE_SUB2]->is_sub = true;
osd_init_backend(osd);
return osd;
}

View File

@ -41,10 +41,6 @@ static const char osd_font_pfb[] =
static void append_ass(struct ass_state *ass, struct mp_osd_res *res,
ASS_Image **img_list, bool *changed);
void osd_init_backend(struct osd_state *osd)
{
}
static void create_ass_renderer(struct osd_state *osd, struct ass_state *ass)
{
if (ass->render)

View File

@ -88,7 +88,6 @@ struct osd_state {
// defined in osd_libass.c
struct sub_bitmaps *osd_object_get_bitmaps(struct osd_state *osd,
struct osd_object *obj, int format);
void osd_init_backend(struct osd_state *osd);
void osd_destroy_backend(struct osd_state *osd);
#endif