summaryrefslogtreecommitdiff
path: root/apps/metadata.c
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-03-25 19:43:08 +0000
committerJens Arnold <amiconn@rockbox.org>2008-03-25 19:43:08 +0000
commit9a7978aeabadc50c6049c5cd150b572ec9bd9e87 (patch)
tree2d22815d61277d495957ced0d1b25ceb19adac08 /apps/metadata.c
parent38ed90128439bd7cd20038a69032f1f3eddaca04 (diff)
downloadrockbox-9a7978aeabadc50c6049c5cd150b572ec9bd9e87.tar.gz
rockbox-9a7978aeabadc50c6049c5cd150b572ec9bd9e87.zip
Cabbiev2 gigabeat background: reduce WPS backdrop filesize by storing it as 24 bit BMP instead of unnecessary 32 bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16802 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/metadata.c')
-rw-r--r--apps/metadata.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/metadata.c b/apps/metadata.c
index 3abbd74c35..303fafc070 100644
--- a/apps/metadata.c
+++ b/apps/metadata.c
@@ -183,6 +183,14 @@ bool get_metadata(struct mp3entry* id3, int fd, const char* trackname)
183 183
184 break; 184 break;
185 185
186 case AFMT_MOD:
187 if (!get_mod_metadata(fd, id3))
188 {
189 return false;
190 }
191
192 break;
193
186 case AFMT_SHN: 194 case AFMT_SHN:
187 id3->vbr = true; 195 id3->vbr = true;
188 id3->filesize = filesize(fd); 196 id3->filesize = filesize(fd);