forked from len0rd/rockbox
Revert "internals: Support characters beyond the first unicode plane (WIP)"
This reverts commit d05c59f35b
.
This commit is contained in:
parent
d05c59f35b
commit
84504c7471
44 changed files with 335 additions and 480 deletions
|
@ -1092,9 +1092,9 @@ retry_with_limit:
|
|||
|
||||
if (!parse_as_utf8(tag, &bytesread))
|
||||
{
|
||||
/* UTF-8 could potentially be 4 times larger */
|
||||
/* UTF-8 could potentially be 3 times larger */
|
||||
/* so we need to create a new buffer */
|
||||
int utf8_size = (4 * bytesread);
|
||||
int utf8_size = (3 * bytesread);
|
||||
if (utf8_size > ID3V2_BUF_SIZE)
|
||||
{
|
||||
//limit stack allocation to avoid stack overflow
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue