diff options
author | Max Kellermann <max@duempel.org> | 2008-09-29 15:54:27 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-29 15:54:27 +0200 |
commit | 21d3d300fdfa5d5e65bf22ec59fd37550d3c2dac (patch) | |
tree | a1e59b7c540df8955de3a79620d3bcfd102a4095 /src/song.c | |
parent | a7651b9d307efe2473bd68510aa9a6225e7a0b64 (diff) | |
download | mpd-21d3d300fdfa5d5e65bf22ec59fd37550d3c2dac.tar.gz mpd-21d3d300fdfa5d5e65bf22ec59fd37550d3c2dac.tar.xz mpd-21d3d300fdfa5d5e65bf22ec59fd37550d3c2dac.zip |
decoder: renamed plugin methods
Why have a "_func" prefix on all method names? Also don't typedef the
methods, there is no advantage in that.
Diffstat (limited to '')
-rw-r--r-- | src/song.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/song.c b/src/song.c index 096b1afbd..0bdf40c02 100644 --- a/src/song.c +++ b/src/song.c @@ -67,7 +67,7 @@ Song *newSong(const char *url, enum song_type type, Directory * parentDir) while (!song->tag && (plugin = isMusic(abs_path, &(song->mtime), next++))) { - song->tag = plugin->tag_dup_func(abs_path); + song->tag = plugin->tag_dup(abs_path); } if (!song->tag || song->tag->time < 0) { freeSong(song); @@ -111,7 +111,7 @@ int updateSongInfo(Song * song) while (!song->tag && (plugin = isMusic(abs_path, &(song->mtime), next++))) { - song->tag = plugin->tag_dup_func(abs_path); + song->tag = plugin->tag_dup(abs_path); } if (!song->tag || song->tag->time < 0) return -1; |