From 5b79a3d2f89eb8ed155268b9507125008b288a1a Mon Sep 17 00:00:00 2001 From: Erich Schubert Date: Sun, 2 Jan 2011 19:23:51 +0000 Subject: [PATCH] id3demux: 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 --- gst/id3demux/id3v2frames.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/id3demux/id3v2frames.c b/gst/id3demux/id3v2frames.c index 021a3d1..e51bbb7 100644 --- a/gst/id3demux/id3v2frames.c +++ b/gst/id3demux/id3v2frames.c @@ -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; -- 2.7.4