summaryrefslogtreecommitdiffstats
path: root/src/db-itunes-parser.h
diff options
context:
space:
mode:
authorChristophe Fergeau <teuf@gnome.org>2008-02-03 18:53:45 +0000
committerChristophe Fergeau <teuf@gnome.org>2008-02-03 18:53:45 +0000
commit80d7052a3204534b2c68a3b09fe3d84c3ce24b2d (patch)
tree26f76d75438534b743abf75bf9d98ce84b995830 /src/db-itunes-parser.h
parent34e9e341ce3a6e2ba62332c87e4366dcf357b2d0 (diff)
downloadlibgpod-tmz-80d7052a3204534b2c68a3b09fe3d84c3ce24b2d.tar.gz
libgpod-tmz-80d7052a3204534b2c68a3b09fe3d84c3ce24b2d.tar.xz
libgpod-tmz-80d7052a3204534b2c68a3b09fe3d84c3ce24b2d.zip
Factorize mhod_type_3 and mhod_type_1 handling
MHOD in an ArtworkDB can only have 2 types, either they contain a string or they are some kind of container. The code had an arbitrary separation between mhod type 3 and mhod type 1 which both contained strings. This consolidates that code in a parse_mhod_string function git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1947 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'src/db-itunes-parser.h')
-rw-r--r--src/db-itunes-parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db-itunes-parser.h b/src/db-itunes-parser.h
index 728ce2b..7cb0cf9 100644
--- a/src/db-itunes-parser.h
+++ b/src/db-itunes-parser.h
@@ -364,7 +364,7 @@ struct _ArtworkDB_MhodHeaderString {
unsigned char header_id[4];
gint32 header_len;
gint32 total_len;
- gint16 type; /* 3 */
+ gint16 type;
gint8 unknown13;
gint8 padding_len;
gint32 unknown1;