aboutsummaryrefslogtreecommitdiffstats
path: root/src/song_update.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-12-31 17:21:32 +0100
committerMax Kellermann <max@duempel.org>2009-12-31 18:27:40 +0100
commit7a2e07e124ebaae8ecc55de6ea24cbb10c32cebd (patch)
treea1b6eecca70776379eab8b8c657544baa8ea5d0a /src/song_update.c
parentaad05fd1386442330ecc0a15b86cf8081ea47c83 (diff)
downloadmpd-7a2e07e124ebaae8ecc55de6ea24cbb10c32cebd.tar.gz
mpd-7a2e07e124ebaae8ecc55de6ea24cbb10c32cebd.tar.xz
mpd-7a2e07e124ebaae8ecc55de6ea24cbb10c32cebd.zip
song_update: use decoder_plugin_tag_dup()
Minor code simplification.
Diffstat (limited to 'src/song_update.c')
-rw-r--r--src/song_update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/song_update.c b/src/song_update.c
index ab366b0c7..17e1baf96 100644
--- a/src/song_update.c
+++ b/src/song_update.c
@@ -129,7 +129,7 @@ song_file_update(struct song *song)
song->mtime = st.st_mtime;
do {
- song->tag = plugin->tag_dup(path_fs);
+ song->tag = decoder_plugin_tag_dup(plugin, path_fs);
if (song->tag != NULL)
break;