summaryrefslogtreecommitdiffstats
path: root/apps/metadata
diff options
context:
space:
mode:
Diffstat (limited to 'apps/metadata')
-rw-r--r--apps/metadata/id3tags.c8
-rw-r--r--apps/metadata/vorbis.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/apps/metadata/id3tags.c b/apps/metadata/id3tags.c
index 85025c61b1..2dd1c662ed 100644
--- a/apps/metadata/id3tags.c
+++ b/apps/metadata/id3tags.c
@@ -1029,12 +1029,12 @@ void setid3v2title(int fd, struct mp3entry *entry)
break;
}
if (char_enc > 0) {
- entry->embed_cuesheet.present = true;
- entry->embed_cuesheet.pos = lseek(fd, 0, SEEK_CUR)
+ entry->has_embedded_cuesheet = true;
+ entry->embedded_cuesheet.pos = lseek(fd, 0, SEEK_CUR)
- framelen + cuesheet_offset;
- entry->embed_cuesheet.size = totframelen
+ entry->embedded_cuesheet.size = totframelen
- cuesheet_offset;
- entry->embed_cuesheet.encoding = char_enc;
+ entry->embedded_cuesheet.encoding = char_enc;
}
break;
}
diff --git a/apps/metadata/vorbis.c b/apps/metadata/vorbis.c
index 29848daa19..58bd781873 100644
--- a/apps/metadata/vorbis.c
+++ b/apps/metadata/vorbis.c
@@ -353,10 +353,10 @@ long read_vorbis_tags(int fd, struct mp3entry *id3,
/* Is it an embedded cuesheet? */
if (!strcasecmp(name, "CUESHEET"))
{
- id3->embed_cuesheet.present = true;
- id3->embed_cuesheet.pos = lseek(file.fd, 0, SEEK_CUR) - read_len;
- id3->embed_cuesheet.size = len;
- id3->embed_cuesheet.encoding = CHAR_ENC_UTF_8;
+ id3->has_embedded_cuesheet = true;
+ id3->embedded_cuesheet.pos = lseek(file.fd, 0, SEEK_CUR) - read_len;
+ id3->embedded_cuesheet.size = len;
+ id3->embedded_cuesheet.encoding = CHAR_ENC_UTF_8;
}
else
{