song_update: use decoder_plugin_tag_dup()

Minor code simplification.
This commit is contained in:
Max Kellermann 2009-12-31 17:21:32 +01:00
parent aad05fd138
commit 7a2e07e124

View File

@ -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;