summaryrefslogtreecommitdiffstats
path: root/sub/sub.c
diff options
context:
space:
mode:
Diffstat (limited to 'sub/sub.c')
-rw-r--r--sub/sub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sub/sub.c b/sub/sub.c
index f88e9869ee..056d03d1e5 100644
--- a/sub/sub.c
+++ b/sub/sub.c
@@ -36,6 +36,7 @@
#include "mp_msg.h"
#include "libvo/video_out.h"
#include "sub.h"
+#include "sub/ass_mp.h"
#include "spudec.h"
@@ -303,12 +304,11 @@ int osd_update(struct osd_state *osd, int dxs, int dys)
return osd_update_ext(osd, dxs, dys, 0, 0, 0, 0, dxs, dys);
}
-struct osd_state *osd_create(struct MPOpts *opts, struct ass_library *asslib)
+struct osd_state *osd_create(struct MPOpts *opts)
{
struct osd_state *osd = talloc_zero(NULL, struct osd_state);
*osd = (struct osd_state){
.opts = opts,
- .ass_library = asslib,
};
if(!draw_alpha_init_flag){
draw_alpha_init_flag=1;