summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--src/db-artwork-parser.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7f61661..ee354d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-10-24 Christophe Fergeau <teuf@gnome.org>
+
+ Patch from Filippo Giunchedi <filippo@esaurito.net>
+
+ * src/db-artwork-parser.c: (parse_mhba): another missing endianness
+ conversion
+
2007-10-21 Christophe Fergeau <teuf@gnome.org>
Patch from Filippo Giunchedi <filippo@esaurito.net>
diff --git a/src/db-artwork-parser.c b/src/db-artwork-parser.c
index 378130d..81db5a8 100644
--- a/src/db-artwork-parser.c
+++ b/src/db-artwork-parser.c
@@ -363,7 +363,7 @@ parse_mhba (DBParseContext *ctx, GError *error)
}
db_parse_context_set_total_len (mhod_ctx, get_gint32(mhod->total_len, ctx->byte_order));
mhod1 = (MhodHeaderArtworkType1*)mhod;
- album->name = g_strndup ((gchar *)mhod1->string, mhod1->string_len);
+ album->name = g_strndup ((gchar *)mhod1->string, get_gint32(mhod1->string_len, ctx->byte_order));
cur_offset += mhod_ctx->total_len;
dump_mhod_type_1 (mhod1);
g_free (mhod_ctx);