summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/metadata/id3tags.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/metadata/id3tags.c b/apps/metadata/id3tags.c
index a20a59f06e..9ee183a1b3 100644
--- a/apps/metadata/id3tags.c
+++ b/apps/metadata/id3tags.c
@@ -1022,6 +1022,7 @@ void setid3v2title(int fd, struct mp3entry *entry)
1022 if (ptag && !*ptag) 1022 if (ptag && !*ptag)
1023 *ptag = tag; 1023 *ptag = tag;
1024 1024
1025#ifdef HAVE_ALBUMART
1025 /* albumart */ 1026 /* albumart */
1026 if ((!entry->embed_albumart) && 1027 if ((!entry->embed_albumart) &&
1027 ((tr->tag_length == 4 && !memcmp( header, "APIC", 4)) || 1028 ((tr->tag_length == 4 && !memcmp( header, "APIC", 4)) ||
@@ -1036,7 +1037,7 @@ void setid3v2title(int fd, struct mp3entry *entry)
1036 entry->albumart.type = AA_TYPE_UNKNOWN; 1037 entry->albumart.type = AA_TYPE_UNKNOWN;
1037 } 1038 }
1038 } 1039 }
1039 1040#endif
1040 if( tr->ppFunc ) 1041 if( tr->ppFunc )
1041 bufferpos = tr->ppFunc(entry, tag, bufferpos); 1042 bufferpos = tr->ppFunc(entry, tag, bufferpos);
1042 1043