From 93647f42c523539458fb70d655c85efe8d3cbfb1 Mon Sep 17 00:00:00 2001 From: eugeni Date: Fri, 7 Jul 2006 18:04:56 +0000 Subject: Make utf8_get_char non-static. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18940 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/sub.c | 2 +- libvo/sub.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'libvo') 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 -- cgit v1.2.3