diff options
-rw-r--r-- | libvo/sub.c | 2 | ||||
-rw-r--r-- | libvo/sub.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/libvo/sub.c b/libvo/sub.c index 580bb5831b..9093e101d8 100644 --- a/libvo/sub.c +++ b/libvo/sub.c @@ -140,7 +140,7 @@ inline static void vo_draw_text_from_buffer(mp_osd_obj_t* obj,void (*draw_alpha) } } -static unsigned utf8_get_char(char **str) { +unsigned utf8_get_char(char **str) { uint8_t *strp = (uint8_t *)*str; unsigned c = *strp++; unsigned mask = 0x80; diff --git a/libvo/sub.h b/libvo/sub.h index 204be88c46..62d3473bf6 100644 --- a/libvo/sub.h +++ b/libvo/sub.h @@ -121,5 +121,7 @@ void free_osd_list(void); extern int vo_osd_changed_flag; +unsigned utf8_get_char(char **str); + #endif #endif |