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/flac_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/flac_plugin.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/inputPlugins/flac_plugin.c b/src/inputPlugins/flac_plugin.c index c376497a9..89e988a03 100644 --- a/src/inputPlugins/flac_plugin.c +++ b/src/inputPlugins/flac_plugin.c @@ -338,7 +338,7 @@ static struct mpd_tag *flacMetadataDup(char *file, int *vorbisCommentFound) *vorbisCommentFound = 1; } else if (block->type == FLAC__METADATA_TYPE_STREAMINFO) { if (!ret) - ret = newMpdTag(); + ret = tag_new(); ret->time = ((float)block->data.stream_info. total_samples) / block->data.stream_info.sample_rate + 0.5; @@ -362,10 +362,10 @@ static struct mpd_tag *flacTagDup(char *file) return NULL; } if (!foundVorbisComment) { - struct mpd_tag *temp = id3Dup(file); + struct mpd_tag *temp = tag_id3_load(file); if (temp) { temp->time = ret->time; - freeMpdTag(ret); + tag_free(ret); ret = temp; } } @@ -484,7 +484,7 @@ static struct mpd_tag *oggflac_tag_dup(char *file) ret = copyVorbisCommentBlockToMpdTag(block, ret); } else if (block->type == FLAC__METADATA_TYPE_STREAMINFO) { if (!ret) - ret = newMpdTag(); + ret = tag_new(); ret->time = ((float)block->data.stream_info. total_samples) / block->data.stream_info.sample_rate + 0.5; |