From: <te...@us...> - 2007-10-24 18:28:00
|
Revision: 1734 http://gtkpod.svn.sourceforge.net/gtkpod/?rev=1734&view=rev Author: teuf Date: 2007-10-24 11:28:03 -0700 (Wed, 24 Oct 2007) Log Message: ----------- Patch from Filippo Giunchedi <fi...@es...> * src/db-artwork-parser.c: (parse_mhba): another missing endianness conversion Modified Paths: -------------- libgpod/trunk/ChangeLog libgpod/trunk/src/db-artwork-parser.c Modified: libgpod/trunk/ChangeLog =================================================================== --- libgpod/trunk/ChangeLog 2007-10-22 20:55:06 UTC (rev 1733) +++ libgpod/trunk/ChangeLog 2007-10-24 18:28:03 UTC (rev 1734) @@ -1,3 +1,10 @@ +2007-10-24 Christophe Fergeau <te...@gn...> + + Patch from Filippo Giunchedi <fi...@es...> + + * src/db-artwork-parser.c: (parse_mhba): another missing endianness + conversion + 2007-10-21 Christophe Fergeau <te...@gn...> Patch from Filippo Giunchedi <fi...@es...> Modified: libgpod/trunk/src/db-artwork-parser.c =================================================================== --- libgpod/trunk/src/db-artwork-parser.c 2007-10-22 20:55:06 UTC (rev 1733) +++ libgpod/trunk/src/db-artwork-parser.c 2007-10-24 18:28:03 UTC (rev 1734) @@ -363,7 +363,7 @@ } 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); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |