diff options
author | Max Kellermann <max@duempel.org> | 2008-08-29 09:38:21 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-09-02 00:13:06 -0700 |
commit | 95451b5821da1383f476cd8d6c6c8d12e683b777 (patch) | |
tree | 2a6e089fe6d75b739c319e13063a222b51534678 /src/inputPlugins/oggvorbis_plugin.c | |
parent | 8ae390f65142ed38a0b5e2474fc6a21866092e84 (diff) | |
download | mpd-95451b5821da1383f476cd8d6c6c8d12e683b777.tar.gz mpd-95451b5821da1383f476cd8d6c6c8d12e683b777.tar.xz mpd-95451b5821da1383f476cd8d6c6c8d12e683b777.zip |
tag: renamed functions, no CamelCase
Diffstat (limited to '')
-rw-r--r-- | src/inputPlugins/oggvorbis_plugin.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/inputPlugins/oggvorbis_plugin.c b/src/inputPlugins/oggvorbis_plugin.c index 0ff54df60..bb8af4465 100644 --- a/src/inputPlugins/oggvorbis_plugin.c +++ b/src/inputPlugins/oggvorbis_plugin.c @@ -163,9 +163,9 @@ static unsigned int ogg_parseCommentAddToTag(char *comment, if (strncasecmp(comment, needle, len) == 0 && *(comment + len) == '=') { if (!*tag) - *tag = newMpdTag(); + *tag = tag_new(); - addItemToMpdTag(*tag, itemType, comment + len + 1); + tag_add_item(*tag, itemType, comment + len + 1); return 1; } @@ -197,14 +197,14 @@ static void putOggCommentsIntoOutputBuffer(char *streamName, tag = oggCommentsParse(comments); if (!tag && streamName) { - tag = newMpdTag(); + tag = tag_new(); } if (!tag) return; if (streamName) { - clearItemsFromMpdTag(tag, TAG_ITEM_NAME); - addItemToMpdTag(tag, TAG_ITEM_NAME, streamName); + tag_clear_items_by_type(tag, TAG_ITEM_NAME); + tag_add_item(tag, TAG_ITEM_NAME, streamName); } metadata_pipe_send(tag, cur_time); @@ -352,7 +352,7 @@ static struct mpd_tag *oggvorbis_TagDup(char *file) ret = oggCommentsParse(ov_comment(&vf, -1)->user_comments); if (!ret) - ret = newMpdTag(); + ret = tag_new(); ret->time = (int)(ov_time_total(&vf, -1) + 0.5); ov_clear(&vf); |