diff options
author | Christophe Fergeau <teuf@gnome.org> | 2008-02-03 18:53:45 +0000 |
---|---|---|
committer | Christophe Fergeau <teuf@gnome.org> | 2008-02-03 18:53:45 +0000 |
commit | e1a7c217fa8e6d90436046458470372e94e04f87 (patch) | |
tree | 26f76d75438534b743abf75bf9d98ce84b995830 /src/db-itunes-parser.h | |
parent | 89d7f3aacc48509db4dbbafe6232615b1bfb8d28 (diff) | |
download | libgpod-e1a7c217fa8e6d90436046458470372e94e04f87.tar.gz libgpod-e1a7c217fa8e6d90436046458470372e94e04f87.tar.xz libgpod-e1a7c217fa8e6d90436046458470372e94e04f87.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.h | 2 |
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; |