summaryrefslogtreecommitdiffstats
path: root/sub/sd.h
diff options
context:
space:
mode:
Diffstat (limited to 'sub/sd.h')
-rw-r--r--sub/sd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sub/sd.h b/sub/sd.h
index a3085be864..d3d70bf594 100644
--- a/sub/sd.h
+++ b/sub/sd.h
@@ -38,8 +38,8 @@ struct sd_functions {
bool (*accepts_packet)(struct sd *sd, double pts); // implicit default if NULL: true
int (*control)(struct sd *sd, enum sd_ctrl cmd, void *arg);
- void (*get_bitmaps)(struct sd *sd, struct mp_osd_res dim, int format,
- double pts, struct sub_bitmaps *res);
+ struct sub_bitmaps *(*get_bitmaps)(struct sd *sd, struct mp_osd_res dim,
+ int format, double pts);
char *(*get_text)(struct sd *sd, double pts);
struct sd_times (*get_times)(struct sd *sd, double pts);
};