tag_id3: parse ID3 tags in AIFF files

Added a small AIFF parser library, code copied from the RIFF parser
(big-endian integers).  Look for an "ID3" chunk, and let libid3tag
parse it.
This commit is contained in:
Max Kellermann
2009-03-02 18:12:44 +01:00
parent 336f624277
commit 2f438e5d23
5 changed files with 153 additions and 8 deletions

View File

@@ -86,8 +86,6 @@ riff_seek_id3(FILE *file)
/* pad byte */
++size;
g_debug("chunk='%.4s' size=%zu\n", chunk.id, size);
if (memcmp(chunk.id, "id3 ", 4) == 0)
/* found it! */
return size;