While cleaning up, I found the innocent lang[3] = 0 on a variable defined as char lang[3] ... just now made the program segfault.
Coders, you have to keep your eyes open!
git-svn-id: svn://scm.orgis.org/mpg123/trunk@1209 35dc7657-300d-0410-a2e5-dc2837fedb53
- the named entries for artist, album, etc in struct mpg123_id3v2 are now pointers...
- ... into the new arrays of ID3v2 text, comment and extra (TXXX) data
- That makes a lot more info directly accessible; which id3dump now does access
- adapted id3print.c to the pointer thing (by dropping some & ;-)
- mpg123_copy_string() now produces an empty string (_not_ "") when copying from NULL
id3.c got a bit of structure, but the main parsing function is still to bloated.
In general, I hope this change of ID3v2 handling makes sense.
You have more data plus the possibility to easily loop through the entries...
git-svn-id: svn://scm.orgis.org/mpg123/trunk@1205 35dc7657-300d-0410-a2e5-dc2837fedb53