mirror of
http://mpg123.de/trunk/.git
synced 2025-10-25 04:37:34 +03:00
Made ID3 code store all comments in a list (API change in mpg123_id3v2 struct!) and while doing that seen what I did wrong last time: I ignored the encoding of the description field.
git-svn-id: svn://scm.orgis.org/mpg123/trunk@1204 35dc7657-300d-0410-a2e5-dc2837fedb53
This commit is contained in:
@@ -53,6 +53,10 @@ int mpg123_resize_string(mpg123_string* sb, size_t new)
|
||||
|
||||
int mpg123_copy_string(mpg123_string* from, mpg123_string* to)
|
||||
{
|
||||
if(to == NULL) return -1;
|
||||
|
||||
if(from == NULL) return mpg123_set_string(to, "");
|
||||
|
||||
if(mpg123_resize_string(to, from->fill))
|
||||
{
|
||||
memcpy(to->p, from->p, to->size);
|
||||
|
||||
Reference in New Issue
Block a user