mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-23 12:02:39 -05:00
Re-add the lseek to the beginning of the file which was accidentally removed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28674 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4f03a97169
commit
ec9bb4c684
1 changed files with 1 additions and 0 deletions
|
|
@ -312,6 +312,7 @@ bool get_metadata(struct mp3entry* id3, int fd, const char* trackname)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lseek(fd, 0, SEEK_SET);
|
||||||
strlcpy(id3->path, trackname, sizeof(id3->path));
|
strlcpy(id3->path, trackname, sizeof(id3->path));
|
||||||
/* We have successfully read the metadata from the file */
|
/* We have successfully read the metadata from the file */
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue