diff options
| author | jcsjcs <jcsjcs@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2005-12-04 10:26:14 +0000 |
|---|---|---|
| committer | jcsjcs <jcsjcs@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2005-12-04 10:26:14 +0000 |
| commit | 0a22380b47784d81d71bf6b77354cbe826ffeeab (patch) | |
| tree | 7eac4aa4ced55f837717d3833ffac57cd7eae044 /src/db-artwork-parser.c | |
| parent | fd04173568b958d82ac82e3d217f04ba25e005d6 (diff) | |
* src/itdb_track.c: take care of artwork_size/_count a little
better, take care of dbid2 a little better.
* src/ithumb-writer.c: new ithumb_rearrange_thumbnail_file()
taking into account multiple references to the same slot.
ithumb-writer now cleans up 0 Byte files.
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1187 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/db-artwork-parser.c')
| -rw-r--r-- | src/db-artwork-parser.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/db-artwork-parser.c b/src/db-artwork-parser.c index ae7d629..5a9254e 100644 --- a/src/db-artwork-parser.c +++ b/src/db-artwork-parser.c @@ -240,12 +240,12 @@ parse_mhii (DBParseContext *ctx, Itdb_iTunesDB *db, GError *error) return -1; } + song->artwork->artwork_size = GINT_FROM_LE (mhii->orig_img_size); if ((song->artwork_size+song->artwork_count) != - GINT_FROM_LE (mhii->orig_img_size)) { - g_warning (_("iTunesDB and ArtworkDB artwork sizes inconsistent (%d+%d != %d)"), song->artwork_size, song->artwork_count, GINT_FROM_LE (mhii->orig_img_size)); + song->artwork->artwork_size) { + g_warning (_("iTunesDB and ArtworkDB artwork sizes inconsistent (%d+%d != %d)"), song->artwork_size, song->artwork_count, song->artwork->artwork_size); } - song->artwork->artwork_size = GINT_FROM_LE (mhii->orig_img_size); song->artwork->id = GINT_FROM_LE (mhii->image_id); #endif |
