Mercurial > mplayer.hg
comparison libvo/sub.c @ 18935:880b99e9a891
Make utf8_get_char non-static.
author | eugeni |
---|---|
date | Fri, 07 Jul 2006 18:04:56 +0000 |
parents | 0f99a5fe9c7f |
children | a943bc3f26c8 |
comparison
equal
deleted
inserted
replaced
18934:a3788ff5d0b6 | 18935:880b99e9a891 |
---|---|
138 obj->alpha_buffer, | 138 obj->alpha_buffer, |
139 obj->stride); | 139 obj->stride); |
140 } | 140 } |
141 } | 141 } |
142 | 142 |
143 static unsigned utf8_get_char(char **str) { | 143 unsigned utf8_get_char(char **str) { |
144 uint8_t *strp = (uint8_t *)*str; | 144 uint8_t *strp = (uint8_t *)*str; |
145 unsigned c = *strp++; | 145 unsigned c = *strp++; |
146 unsigned mask = 0x80; | 146 unsigned mask = 0x80; |
147 int len = -1; | 147 int len = -1; |
148 while (c & mask) { | 148 while (c & mask) { |