All pastes #1849369 Raw Edit

Unbenannt

public text v1 · immutable
#1849369 ·published 2010-03-22 16:52 UTC
rendered paste body
diff --git a/src/plugins/flac/flac.c b/src/plugins/flac/flac.c
index 0f40687..1a1b43a 100644
--- a/src/plugins/flac/flac.c
+++ b/src/plugins/flac/flac.c
@@ -368,6 +368,8 @@ handle_comment (xmms_xform_t *xform,
 	gint i;
 
 	for (i = 0; i < G_N_ELEMENTS (properties); i++) {
+		if (key_len != strlen (properties[i].vname))
+			continue;
 		if ((!g_ascii_strncasecmp (key, "MUSICBRAINZ_ALBUMARTISTID", key_len)) &&
 		    (!g_ascii_strcasecmp (value, MUSICBRAINZ_VA_ID))) {
 			const gchar *metakey = XMMS_MEDIALIB_ENTRY_PROPERTY_COMPILATION;