mirror of
https://github.com/mpv-player/mpv
synced 2024-12-18 12:55:16 +00:00
Make utf8_get_char non-static.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18940 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
512eb68dc1
commit
93647f42c5
@ -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;
|
||||
|
@ -121,5 +121,7 @@ void free_osd_list(void);
|
||||
|
||||
extern int vo_osd_changed_flag;
|
||||
|
||||
unsigned utf8_get_char(char **str);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user