diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/db-artwork-parser.c | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -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); |