1
0
Fork 0
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:
Dave Chapman 2005-10-30 15:07:40 +00:00
parent a4c190f7d4
commit 15a830bdba
4 changed files with 36 additions and 6 deletions

View file

@ -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

View file

@ -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;