forked from len0rd/rockbox
Skip ID3v2 tags at the start of a FLAC file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7689 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
a4c190f7d4
commit
15a830bdba
4 changed files with 36 additions and 6 deletions
|
|
@ -134,5 +134,6 @@ enum {
|
|||
bool mp3info(struct mp3entry *entry, const char *filename, bool v1first);
|
||||
char* id3_get_genre(const struct mp3entry* id3);
|
||||
char* id3_get_codec(const struct mp3entry* id3);
|
||||
int getid3v2len(int fd);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -829,7 +829,7 @@ static void setid3v2title(int fd, struct mp3entry *entry)
|
|||
*
|
||||
* Returns: the size of the tag or 0 if none was found
|
||||
*/
|
||||
static int getid3v2len(int fd)
|
||||
int getid3v2len(int fd)
|
||||
{
|
||||
char buf[6];
|
||||
int offset;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue