aboutsummaryrefslogtreecommitdiffstats
path: root/src/song_update.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/song_update.c')
-rw-r--r--src/song_update.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/song_update.c b/src/song_update.c
index cfef5861f..2239f9aa6 100644
--- a/src/song_update.c
+++ b/src/song_update.c
@@ -107,7 +107,7 @@ song_file_update(struct song *song)
if (suffix == NULL)
return false;
- plugin = decoder_plugin_from_suffix(suffix, false);
+ plugin = decoder_plugin_from_suffix(suffix, NULL);
if (plugin == NULL)
return false;
@@ -132,7 +132,7 @@ song_file_update(struct song *song)
if (song->tag != NULL)
break;
- plugin = decoder_plugin_from_suffix(suffix, true);
+ plugin = decoder_plugin_from_suffix(suffix, plugin);
} while (plugin != NULL);
if (song->tag != NULL && tag_is_empty(song->tag))