[Easyh10-cvs] easyh10/libgetmediainfo gmi_mp3_id3tag.c,1.2,1.3
Status: Beta
Brought to you by:
nyaochi
|
From: Nyaochi <ny...@us...> - 2006-10-08 18:34:15
|
Update of /cvsroot/easyh10/easyh10/libgetmediainfo In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv1092/libgetmediainfo Modified Files: gmi_mp3_id3tag.c Log Message: I thought the patch #1539139 was applied, but not. Index: gmi_mp3_id3tag.c =================================================================== RCS file: /cvsroot/easyh10/easyh10/libgetmediainfo/gmi_mp3_id3tag.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** gmi_mp3_id3tag.c 8 Oct 2006 11:32:27 -0000 1.2 --- gmi_mp3_id3tag.c 8 Oct 2006 18:34:11 -0000 1.3 *************** *** 429,432 **** --- 429,433 ---- ucs2_char_t* title = NULL; static ucs2_char_t separator[] = {' ','-',' ',0}; + static ucs2_char_t va[] = {'V','a','r','i','o','u','s',' ','a','r','t','i','s','t','s',0}; /* Calculate the length of the new title. */ *************** *** 441,444 **** --- 442,446 ---- /* Construct the new title. */ title = ucs2malloc(sizeof(ucs2_char_t) * (length+1)); + memset(title, 0, sizeof(ucs2_char_t) * (length+1)); if (info->artist) { ucs2cpy(title, info->artist); *************** *** 455,459 **** /* Set the new title and artist. */ info->title = title; ! info->artist = mbsdupucs2("Various artists"); } --- 457,461 ---- /* Set the new title and artist. */ info->title = title; ! info->artist = ucs2dup(va); } |