aboutsummaryrefslogtreecommitdiffstats
path: root/src/encoder
diff options
context:
space:
mode:
Diffstat (limited to 'src/encoder')
-rw-r--r--src/encoder/vorbis_encoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/encoder/vorbis_encoder.c b/src/encoder/vorbis_encoder.c
index a4f427ef5..775258329 100644
--- a/src/encoder/vorbis_encoder.c
+++ b/src/encoder/vorbis_encoder.c
@@ -274,7 +274,7 @@ static void
copy_tag_to_vorbis_comment(struct vorbis_encoder *encoder,
const struct tag *tag)
{
- for (unsigned i = 0; i < tag->numOfItems; i++) {
+ for (unsigned i = 0; i < tag->num_items; i++) {
switch (tag->items[i]->type) {
case TAG_ITEM_ARTIST:
add_tag(encoder, "ARTIST", tag->items[i]->value);