diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | src/itdb_device.h | 6 |
2 files changed, 11 insertions, 3 deletions
@@ -1,5 +1,13 @@ 2008-10-07 Christophe Fergeau <teuf@gnome.org> + * src/itdb_device.h: switch members in Itdb_ArtworkFormat from + guint16 to gint since the SysInfoExtended parser will assume + they are gint value and will try to write to them through a + gint* pointer (ie it will overwrite whatever is around the + guint16 value if we don't change it) + +2008-10-07 Christophe Fergeau <teuf@gnome.org> + * src/itdb_device.c: fix itdb_device_supports_artwork to properly take into account data from SysInfoExtended if available diff --git a/src/itdb_device.h b/src/itdb_device.h index 26226eb..d461994 100644 --- a/src/itdb_device.h +++ b/src/itdb_device.h @@ -95,9 +95,9 @@ struct _Itdb_Device }; struct _Itdb_ArtworkFormat { - gint16 format_id; - gint16 width; - gint16 height; + gint format_id; + gint width; + gint height; ItdbThumbFormat format; gint32 padding; /* not found in SysInfoExtended, added * for compatibility with hardcoded artwork formats */ |