diff options
| author | teuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2008-02-03 18:53:45 +0000 |
|---|---|---|
| committer | teuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2008-02-03 18:53:45 +0000 |
| commit | db0e04b3a478d53a622e1ab3f9c7df7aad880a4c (patch) | |
| tree | 26f76d75438534b743abf75bf9d98ce84b995830 /src/db-itunes-parser.h | |
| parent | 1ac42a5cd781a2e281b60408d8b7ca5c285c0abe (diff) | |
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; |
