aboutsummaryrefslogtreecommitdiffstats
path: root/src/encoder/vorbis_encoder.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-27 09:01:55 +0100
committerMax Kellermann <max@duempel.org>2009-02-27 09:01:55 +0100
commit75c2029b1c3b59a5922eebc7cf91607758823c45 (patch)
treeb8eb0204dcb4b363aea94e0fcf4593b0610a7172 /src/encoder/vorbis_encoder.c
parent5b07cbf0b4428213fee154c2e92b74606abedc2b (diff)
downloadmpd-75c2029b1c3b59a5922eebc7cf91607758823c45.tar.gz
mpd-75c2029b1c3b59a5922eebc7cf91607758823c45.tar.xz
mpd-75c2029b1c3b59a5922eebc7cf91607758823c45.zip
tag: no CamelCase
Renamed numOfItems to num_items.
Diffstat (limited to '')
-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);