From 21d3d300fdfa5d5e65bf22ec59fd37550d3c2dac Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 29 Sep 2008 15:54:27 +0200 Subject: 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. --- src/song.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/song.c') 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; -- cgit v1.2.3