diff options
author | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-07 18:04:56 +0000 |
---|---|---|
committer | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-07 18:04:56 +0000 |
commit | 93647f42c523539458fb70d655c85efe8d3cbfb1 (patch) | |
tree | 22e6c5381d15fe9bc2cca79f7e40750dbd2c48ee /libvo | |
parent | 512eb68dc17b1b757846cb7915998bcaa86ed119 (diff) | |
download | mpv-93647f42c523539458fb70d655c85efe8d3cbfb1.tar.bz2 mpv-93647f42c523539458fb70d655c85efe8d3cbfb1.tar.xz |
Make utf8_get_char non-static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18940 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-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 |