|
From: <ny...@us...> - 2007-10-06 02:22:42
|
Revision: 423
http://pmplib.svn.sourceforge.net/pmplib/?rev=423&view=rev
Author: nyaochi
Date: 2007-10-05 19:22:44 -0700 (Fri, 05 Oct 2007)
Log Message:
-----------
Renamt correlation_id -> format_id since these values are
associated with the dictionary entries of
<key>FormatId</key>.
Modified Paths:
--------------
trunk/pmplib/lib/pmp_ipod/artworkdb.c
trunk/pmplib/lib/pmp_ipod/artworkdb.h
Modified: trunk/pmplib/lib/pmp_ipod/artworkdb.c
===================================================================
--- trunk/pmplib/lib/pmp_ipod/artworkdb.c 2007-10-06 01:17:54 UTC (rev 422)
+++ trunk/pmplib/lib/pmp_ipod/artworkdb.c 2007-10-06 02:22:44 UTC (rev 423)
@@ -213,7 +213,7 @@
mhni = (artworkdb_mhni_t*)calloc(1, sizeof(artworkdb_mhni_t));
if (def && mhni) {
mhni->num_children = 0;
- mhni->correlation_id = 0;
+ mhni->format_id = 0;
mhni->ithmb_offset = 0;
mhni->ithmb_size = 0;
mhni->vertical_padding = 0;
@@ -231,7 +231,7 @@
artworkdb_mhni_t* mhni = (artworkdb_mhni_t*)chunk->data;
if (ret = serialize_uint32le(sio, "num_children", "%d", &mhni->num_children)) return ret;
- if (ret = serialize_uint32le(sio, "correlation_id", "%d", &mhni->correlation_id)) return ret;
+ if (ret = serialize_uint32le(sio, "format_id", "%d", &mhni->format_id)) return ret;
if (ret = serialize_uint32le(sio, "ithmb_offset", "%d", &mhni->ithmb_offset)) return ret;
if (ret = serialize_uint32le(sio, "ithmb_size", "%d", &mhni->ithmb_size)) return ret;
if (ret = serialize_uint16le(sio, "vertical_padding", "%d", &mhni->vertical_padding)) return ret;
@@ -389,7 +389,7 @@
artworkdb_mhif_t* mhif = (artworkdb_mhif_t*)chunk->data;
if (ret = serialize_uint32le(sio, "unknown1", "%d", &mhif->unknown1)) return ret;
- if (ret = serialize_uint32le(sio, "correlation_id", "%d", &mhif->correlation_id)) return ret;
+ if (ret = serialize_uint32le(sio, "format_id", "%d", &mhif->format_id)) return ret;
if (ret = serialize_uint32le(sio, "image_size", "%d", &mhif->image_size)) return ret;
return 0;
Modified: trunk/pmplib/lib/pmp_ipod/artworkdb.h
===================================================================
--- trunk/pmplib/lib/pmp_ipod/artworkdb.h 2007-10-06 01:17:54 UTC (rev 422)
+++ trunk/pmplib/lib/pmp_ipod/artworkdb.h 2007-10-06 02:22:44 UTC (rev 423)
@@ -63,7 +63,7 @@
typedef struct {
uint32_t num_children;
- uint32_t correlation_id;
+ uint32_t format_id;
uint32_t ithmb_offset;
uint32_t ithmb_size;
uint16_t vertical_padding;
@@ -101,7 +101,7 @@
typedef struct {
uint32_t unknown1;
- uint32_t correlation_id;
+ uint32_t format_id;
uint32_t image_size;
} artworkdb_mhif_t;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|