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
commite1a7c217fa8e6d90436046458470372e94e04f87 (patch)
tree26f76d75438534b743abf75bf9d98ce84b995830 /src/db-itunes-parser.h
parent89d7f3aacc48509db4dbbafe6232615b1bfb8d28 (diff)
downloadlibgpod-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.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;