summaryrefslogtreecommitdiffstats
path: root/apps/metadata/id3tags.c
diff options
context:
space:
mode:
authorAlexander Levin <al.le@rockbox.org>2011-12-22 18:48:43 +0000
committerAlexander Levin <al.le@rockbox.org>2011-12-22 18:48:43 +0000
commit63c4ef9f57fa6947f9244e087180d9d5781c1032 (patch)
tree6ca4feb33d1b0cd8a63b06f291fa3b5e24032ef5 /apps/metadata/id3tags.c
parent5b5871bd011095e11cc31a247dc9b2e104c79d79 (diff)
downloadrockbox-63c4ef9f57fa6947f9244e087180d9d5781c1032.tar.gz
rockbox-63c4ef9f57fa6947f9244e087180d9d5781c1032.tar.bz2
rockbox-63c4ef9f57fa6947f9244e087180d9d5781c1032.zip
Rename 'mp3entry.embed_albumart' to 'mp3entry.has_embedded_albumart' (FS#12470). No functional changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31405 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/metadata/id3tags.c')
-rw-r--r--apps/metadata/id3tags.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/metadata/id3tags.c b/apps/metadata/id3tags.c
index dcb80347db..85025c61b1 100644
--- a/apps/metadata/id3tags.c
+++ b/apps/metadata/id3tags.c
@@ -301,7 +301,7 @@ static int parsegenre( struct mp3entry* entry, char* tag, int bufferpos )
/* parse embed albumart */
static int parsealbumart( struct mp3entry* entry, char* tag, int bufferpos )
{
- entry->embed_albumart = false;
+ entry->has_embedded_albumart = false;
/* we currently don't support unsynchronizing albumart */
if (entry->albumart.type == AA_TYPE_UNSYNC)
@@ -347,7 +347,7 @@ static int parsealbumart( struct mp3entry* entry, char* tag, int bufferpos )
/* fixup offset&size for image data */
entry->albumart.pos += tag - start;
entry->albumart.size -= tag - start;
- entry->embed_albumart = true;
+ entry->has_embedded_albumart = true;
}
/* return bufferpos as we didn't store anything in id3v2buf */
return bufferpos;
@@ -1075,7 +1075,7 @@ void setid3v2title(int fd, struct mp3entry *entry)
#ifdef HAVE_ALBUMART
/* albumart */
- if ((!entry->embed_albumart) &&
+ if ((!entry->has_embedded_albumart) &&
((tr->tag_length == 4 && !memcmp( header, "APIC", 4)) ||
(tr->tag_length == 3 && !memcmp( header, "PIC" , 3))))
{