summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/db-artwork-parser.c2
1 files changed, 1 insertions, 1 deletions
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);