tag: id3v2: fix parsing of ID3v2.4 genre frames with multiple genres

We'd only extract the first genre (multiple times) instead of all
genres.

https://bugzilla.gnome.org/show_bug.cgi?id=638535
This commit is contained in:
Erich Schubert 2011-01-02 19:23:51 +00:00 committed by Tim-Philipp Müller
parent d2cec9e102
commit afe6ee7f3c

View file

@ -875,7 +875,7 @@ id3v2_genre_fields_to_taglist (ID3TagsWorking * work, const gchar * tag_name,
for (i = 0; i < tag_fields->len; i++) {
gint len;
tag_str = g_array_index (tag_fields, gchar *, 0);
tag_str = g_array_index (tag_fields, gchar *, i);
if (tag_str == NULL)
continue;