forked from len0rd/rockbox
Fix FS# 11414 : .mod files - metadata in incorrect fields
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28228 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5cf249155e
commit
0d100b4dd8
1 changed files with 2 additions and 2 deletions
|
|
@ -49,9 +49,9 @@ bool get_mod_metadata(int fd, struct mp3entry* id3)
|
|||
|
||||
p = id3->id3v2buf;
|
||||
|
||||
/* Copy Title as artist */
|
||||
/* Copy Title */
|
||||
strcpy(p, &buf[0x00]);
|
||||
id3->artist = p;
|
||||
id3->title = p;
|
||||
p += strlen(p)+1;
|
||||
|
||||
id3->bitrate = filesize(fd)/1024; /* size in kb */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue